<!DOCTYPE html>
<!-- saved from url=(0070)https://securepubads.g.doubleclick.net/static/topics/topics_frame.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>Topics Frame</title>
    <meta http-equiv="origin-trial" content="Avh5Ny0XEFCyQ7+oNieXskUrqY8edUzL5/XrwKlGjARQHW4TFRK+jVd5HnDIpY20n5OLHfgU4ku7x48N3uhG/A0AAABxeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
    <script>
      
/*

 Copyright 2022 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var m,aa,ba=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");},ea=da(this),fa="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),q={},ha={},v=function(a,b,c){if(!c||null!=a){c=ha[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}},w=function(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0],g;!a&&e in q?g=q:g=ea;for(e=0;e<d.length-1;e++){var f=d[e];if(!(f in g))break a;g=g[f]}d=d[d.length-1];c=fa&&"es6"===c?g[d]:null;b=b(c);null!=b&&(a?ca(q,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===ha[d]&&(a=1E9*Math.random()>>>0,ha[d]=fa?ea.Symbol(d):"$jscp$"+a+"$"+d),ca(g,ha[d],{configurable:!0,writable:!0,value:b})))}};w("Symbol",function(a){if(a)return a;var b=function(g,f){this.g=g;ca(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.g};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e},"es6");w("Symbol.iterator",function(a){if(a)return a;a=(0,q.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ea[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(ba(this))}})}return a},"es6");var ia=function(a){a={next:a};a[v(q.Symbol,"iterator")]=function(){return this};return a},ja=function(a){return a.raw=a},x=function(a){var b="undefined"!=typeof q.Symbol&&v(q.Symbol,"iterator")&&a[v(q.Symbol,"iterator")];if(b)return b.call(a);if("number"==typeof a.length)return{next:ba(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},ka=function(a){if(!(a instanceof Array)){a=x(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},la=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ma=fa&&"function"==typeof v(Object,"assign")?v(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)la(d,e)&&(a[e]=d[e])}return a};w("Object.assign",function(a){return a||ma},"es6");var na="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},oa;if(fa&&"function"==typeof v(Object,"setPrototypeOf"))oa=v(Object,"setPrototypeOf");else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sa=oa,y=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Ma=b.prototype},ta=function(){this.F=!1;this.i=null;this.g=void 0;this.h=1;this.W=this.s=0;this.l=null},ua=function(a){if(a.F)throw new TypeError("Generator is already running");a.F=!0};ta.prototype.U=function(a){this.g=a};var wa=function(a,b){a.l={la:b,Ea:!0};a.h=a.s||a.W};ta.prototype.return=function(a){this.l={return:a};this.h=this.W};var z=function(a,b,c){a.h=c;return{value:b}},xa=function(a){a.s=0;var b=a.l.la;a.l=null;return b},ya=function(a){this.g=new ta;this.h=a},Ba=function(a,b){ua(a.g);var c=a.g.i;if(c)return za(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Aa(a)},za=function(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.F=!1,e;var g=e.value}catch(f){return a.g.i=null,wa(a.g,f),Aa(a)}a.g.i=null;d.call(a.g,g);return Aa(a)},Aa=function(a){for(;a.g.h;)try{var b=a.h(a.g);if(b)return a.g.F=!1,{value:b.value,done:!1}}catch(c){a.g.g=void 0,wa(a.g,c)}a.g.F=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.Ea)throw b.la;return{value:b.return,done:!0}}return{value:void 0,done:!0}},Ca=function(a){this.next=function(b){ua(a.g);a.g.i?b=za(a,a.g.i.next,b,a.g.U):(a.g.U(b),b=Aa(a));return b};this.throw=function(b){ua(a.g);a.g.i?b=za(a,a.g.i["throw"],b,a.g.U):(wa(a.g,b),b=Aa(a));return b};this.return=function(b){return Ba(a,b)};this[v(q.Symbol,"iterator")]=function(){return this}},Da=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new q.Promise(function(d,e){function g(f){f.done?d(f.value):q.Promise.resolve(f.value).then(b,c).then(g,e)}g(a.next())})},C=function(a){return Da(new Ca(new ya(a)))},Ea=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};w("Reflect.setPrototypeOf",function(a){return a?a:sa?function(b,c){try{return sa(b,c),!0}catch(d){return!1}}:null},"es6");w("Promise",function(a){function b(){this.g=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.h=function(f){if(null==this.g){this.g=[];var h=this;this.i(function(){h.s()})}this.g.push(f)};var d=ea.setTimeout;b.prototype.i=function(f){d(f,0)};b.prototype.s=function(){for(;this.g&&this.g.length;){var f=this.g;this.g=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(l){this.l(l)}}}this.g=null};b.prototype.l=function(f){this.i(function(){throw f;})};var e=function(f){this.h=0;this.i=void 0;this.g=[];this.U=!1;var h=this.l();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.l=function(){function f(l){return function(n){k||(k=!0,l.call(h,n))}}var h=this,k=!1;return{resolve:f(this.va),reject:f(this.s)}};e.prototype.va=function(f){if(f===this)this.s(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.xa(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;default:h=!1}h?this.ua(f):this.F(f)}};e.prototype.ua=function(f){var h=void 0;try{h=f.then}catch(k){this.s(k);return}"function"==typeof h?this.ya(h,f):this.F(f)};e.prototype.s=function(f){this.W(2,f)};e.prototype.F=function(f){this.W(1,f)};e.prototype.W=function(f,h){if(0!=this.h)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.h);this.h=f;this.i=h;2===this.h&&this.wa();this.sa()};e.prototype.wa=function(){var f=this;d(function(){if(f.ta()){var h=ea.console;"undefined"!==typeof h&&h.error(f.i)}},1)};e.prototype.ta=function(){if(this.U)return!1;var f=ea.CustomEvent,h=ea.Event,k=ea.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof h?f=new h("unhandledrejection",{cancelable:!0}):(f=ea.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.i;return k(f)};e.prototype.sa=function(){if(null!=this.g){for(var f=0;f<this.g.length;++f)g.h(this.g[f]);this.g=null}};var g=new b;e.prototype.xa=function(f){var h=this.l();f.Z(h.resolve,h.reject)};e.prototype.ya=function(f,h){var k=this.l();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(f,h){function k(r,t){return"function"==typeof r?function(u){try{l(r(u))}catch(A){n(A)}}:t}var l,n,p=new e(function(r,t){l=r;n=t});this.Z(k(f,l),k(h,n));return p};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Z=function(f,h){function k(){switch(l.h){case 1:f(l.i);break;case 2:h(l.i);break;default:throw Error("Unexpected state: "+l.h);}}var l=this;null==this.g?g.h(k):this.g.push(k);this.U=!0};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var l=x(f),n=l.next();!n.done;n=l.next())c(n.value).Z(h,k)})};e.all=function(f){var h=x(f),k=h.next();return k.done?c([]):new e(function(l,n){function p(u){return function(A){r[u]=A;t--;0==t&&l(r)}}var r=[],t=0;do r.push(void 0),t++,c(k.value).Z(p(r.length-1),n),k=h.next();while(!k.done)})};return e},"es6");w("Object.setPrototypeOf",function(a){return a||sa},"es6");w("WeakMap",function(a){function b(){}function c(f){var h=typeof f;return"object"===h&&null!==f||"function"===h}if(function(){if(!a||!Object.seal)return!1;try{var f=Object.seal({}),h=Object.seal({}),k=new a([[f,2],[h,3]]);if(2!=k.get(f)||3!=k.get(h))return!1;k.delete(f);k.set(h,4);return!k.has(f)&&4==k.get(h)}catch(l){return!1}}())return a;var d="$jscomp_hidden_"+Math.random(),e=0,g=function(f){this.g=(e+=Math.random()+1).toString();if(f){f=x(f);for(var h;!(h=f.next()).done;)h=h.value,this.set(h[0],h[1])}};g.prototype.set=function(f,h){if(!c(f))throw Error("Invalid WeakMap key");if(!la(f,d)){var k=new b;ca(f,d,{value:k})}if(!la(f,d))throw Error("WeakMap key fail: "+f);f[d][this.g]=h;return this};g.prototype.get=function(f){return c(f)&&la(f,d)?f[d][this.g]:void 0};g.prototype.has=function(f){return c(f)&&la(f,d)&&la(f[d],this.g)};g.prototype.delete=function(f){return c(f)&&la(f,d)&&la(f[d],this.g)?delete f[d][this.g]:!1};return g},"es6");w("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(x([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),n=l.next();if(n.done||n.value[0]!=h||"s"!=n.value[1])return!1;n=l.next();return n.done||4!=n.value[0].x||"t"!=n.value[1]||!l.next().done?!1:!0}catch(p){return!1}}())return a;var b=new q.WeakMap,c=function(h){this[0]={};this[1]=g();this.size=0;if(h){h=x(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.A?l.A.value=k:(l.A={next:this[1],H:this[1].H,head:this[1],key:h,value:k},l.list.push(l.A),this[1].H.next=l.A,this[1].H=l.A,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.A&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.A.H.next=h.A.next,h.A.next.H=h.A.H,h.A.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].H=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).A};c.prototype.get=function(h){return(h=d(this,h).A)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=this.entries(),n;!(n=l.next()).done;)n=n.value,h.call(k,n[1],n[0],this)};c.prototype[v(q.Symbol,"iterator")]=c.prototype.entries;var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var n=h[0][l];if(n&&la(h[0],l))for(h=0;h<n.length;h++){var p=n[h];if(k!==k&&p.key!==p.key||k===p.key)return{id:l,list:n,index:h,A:p}}return{id:l,list:n,index:-1,A:void 0}},e=function(h,k){var l=h[1];return ia(function(){if(l){for(;l.head!=h[1];)l=l.H;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.H=h.next=h.head=h},f=0;return c},"es6");w("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991},"es6");w("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}},"es6");w("Number.isInteger",function(a){return a?a:function(b){return v(Number,"isFinite").call(Number,b)?b===Math.floor(b):!1}},"es6");w("Number.isSafeInteger",function(a){return a?a:function(b){return v(Number,"isInteger").call(Number,b)&&Math.abs(b)<=v(Number,"MAX_SAFE_INTEGER")}},"es6");w("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}},"es6");w("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}},"es8");w("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}},"es6");w("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||v(Object,"is").call(Object,g,b))return!0}return!1}},"es7");var Fa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};w("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Fa(this,b,"includes").indexOf(b,c||0)}},"es6");w("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}},"es6");var Ga=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[v(q.Symbol,"iterator")]=function(){return e};return e};w("Array.prototype.values",function(a){return a?a:function(){return Ga(this,function(b,c){return c})}},"es8");w("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],g="undefined"!=typeof q.Symbol&&v(q.Symbol,"iterator")&&b[v(q.Symbol,"iterator")];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}},"es6");w("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(x([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.g=new q.Map;if(c){c=x(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return v(this.g,"values").call(this.g)};b.prototype.keys=v(b.prototype,"values");b.prototype[v(q.Symbol,"iterator")]=v(b.prototype,"values");b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(g){return c.call(d,g,g,e)})};return b},"es6");w("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Fa(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}},"es6");w("globalThis",function(a){return a||ea},"es_2020");/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Ha=this||self,Ia=function(a){a:{var b=["CLOSURE_FLAGS"];for(var c=Ha,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}a=b&&b[a];return null!=a?a:!1};function Ja(){throw Error("Invalid UTF8");}function Ka(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b}var La=void 0,Ma,Na="undefined"!==typeof TextDecoder,Oa,Pa="function"===typeof String.prototype.Fa,Qa="undefined"!==typeof TextEncoder;function Ra(a){Ha.setTimeout(function(){throw a;},0)};var Sa=Ia(610401301),Ta=Ia(188588736);var Ua,Va=Ha.navigator;Ua=Va?Va.userAgentData||null:null;function Wa(a){return Sa?Ua?Ua.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}function D(a){var b;a:{if(b=Ha.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function Xa(){return Sa?!!Ua&&0<Ua.brands.length:!1}function Ya(){return Xa()?Wa("Chromium"):(D("Chrome")||D("CriOS"))&&!(Xa()?0:D("Edge"))||D("Silk")};var Za=function(a){Za[" "](a);return a};Za[" "]=function(){};var $a=Xa()?!1:D("Trident")||D("MSIE");!D("Android")||Ya();Ya();D("Safari")&&(Ya()||(Xa()?0:D("Coast"))||(Xa()?0:D("Opera"))||(Xa()?0:D("Edge"))||(Xa()?Wa("Microsoft Edge"):D("Edg/"))||Xa()&&Wa("Opera"));var ab={},bb=null,db=function(a,b){void 0===b&&(b=0);cb();b=ab[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,g=0;e<a.length-2;e+=3){var f=a[e],h=a[e+1],k=a[e+2],l=b[f>>2];f=b[(f&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[g++]=l+f+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")},fb=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;eb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},eb=function(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),n=bb[l];if(null!=n)return n;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}cb();for(var d=0;;){var e=c(-1),g=c(0),f=c(64),h=c(64);if(64===h&&-1===e)break;b(e<<2|g>>4);64!=f&&(b(g<<4&240|f>>2),64!=h&&b(f<<6&192|h))}},cb=function(){if(!bb){bb={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ab[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===bb[g]&&(bb[g]=e)}}}};var gb="undefined"!==typeof Uint8Array,hb=!$a&&"function"===typeof btoa;function ib(a){if(!hb)return db(a);for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)}var jb=/[-_.]/g,lb={"-":"+",_:"/",".":"="};function mb(a){return lb[a]||""}function nb(a){if(!hb)return fb(a);jb.test(a)&&(a=a.replace(jb,mb));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b}function ob(a){return gb&&null!=a&&a instanceof Uint8Array}var pb;function qb(){return pb||(pb=new Uint8Array(0))}var rb={};var sb;function tb(a){if(a!==rb)throw Error("illegal external caller");}var ub=function(a,b){tb(b);this.g=a;if(null!=a&&0===a.length)throw Error("ByteString should be constructed with non-empty values");},vb=function(){return sb||(sb=new ub(null,rb))},wb=function(a){tb(rb);var b=a.g;b=null==b||ob(b)?b:"string"===typeof b?nb(b):null;return null==b?b:a.g=b};function xb(a,b){return Error("Invalid wire type: "+a+" (at position "+b+")")}function yb(){return Error("Failed to read varint, encoding is invalid.")}function zb(a,b){return Error("Tried to read past the end of the data "+b+" > "+a)};function Ab(a){if("string"===typeof a)return{buffer:nb(a),O:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),O:!1};if(a.constructor===Uint8Array)return{buffer:a,O:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),O:!1};if(a.constructor===ub)return{buffer:wb(a)||qb(),O:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),O:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers");};function Bb(){return"function"===typeof BigInt};var Cb="function"===typeof Uint8Array.prototype.slice,E=0,F=0;function Db(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=x(Eb(c,a)),b=c.next().value,a=c.next().value,c=b);E=c>>>0;F=a>>>0}function Fb(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+(a>>>0);return c?-a:a}function Gb(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Bb()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+Hb(c)+Hb(a));return c}function Hb(a){a=String(a);return"0000000".slice(a.length)+a}function Ib(){var a=E,b=F;b&2147483648?Bb()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=x(Eb(a,b)),a=b.next().value,b=b.next().value,a="-"+Gb(a,b)):a=Gb(a,b);return a}function Jb(a){if(16>a.length)Db(Number(a));else if(Bb())a=BigInt(a),E=Number(a&BigInt(4294967295))>>>0,F=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);F=E=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),F*=1E6,E=1E6*E+d,4294967296<=E&&(F+=v(Math,"trunc").call(Math,E/4294967296),F>>>=0,E>>>=0);b&&(b=x(Eb(E,F)),a=b.next().value,b=b.next().value,E=a,F=b)}}function Eb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var Lb=function(a,b){this.i=null;this.s=!1;this.g=this.h=this.l=0;Kb(this,a,b)},Kb=function(a,b,c){c=void 0===c?{}:c;a.Y=void 0===c.Y?!1:c.Y;b&&(b=Ab(b),a.i=b.buffer,a.s=b.O,a.l=0,a.h=a.i.length,a.g=a.l)};Lb.prototype.clear=function(){this.i=null;this.s=!1;this.g=this.h=this.l=0;this.Y=!1};var Mb=function(a,b){a.g=b;if(b>a.h)throw zb(a.h,b);},Nb=function(a){var b=a.i,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw yb();Mb(a,c);return e},Ob=function(a,b){if(0>b)throw Error("Tried to read a negative byte length: "+b);var c=a.g,d=c+b;if(d>a.h)throw zb(b,a.h-c);a.g=d;return c},Pb=function(a,b){if(0==b)return vb();var c=Ob(a,b);a.Y&&a.s?c=a.i.subarray(c,c+b):(a=a.i,b=c+b,c=c===b?qb():Cb?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return 0==c.length?vb():new ub(c,rb)},Qb=[];var Sb=function(a,b){if(Qb.length){var c=Qb.pop();Kb(c,a,b);a=c}else a=new Lb(a,b);this.g=a;this.i=this.g.g;this.h=this.l=-1;Rb(this,b)},Rb=function(a,b){b=void 0===b?{}:b;a.ga=void 0===b.ga?!1:b.ga},Tb=function(a){var b=a.g;if(b.g==b.h)return!1;a.i=a.g.g;var c=Nb(a.g)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw xb(c,a.i);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.i+")");a.l=b;a.h=c;return!0},Ub=function(a){switch(a.h){case 0:if(0!=a.h)Ub(a);else a:{a=a.g;for(var b=a.g,c=b+10,d=a.i;b<c;)if(0===(d[b++]&128)){Mb(a,b);break a}throw yb();}break;case 1:a=a.g;Mb(a,a.g+8);break;case 2:2!=a.h?Ub(a):(b=Nb(a.g)>>>0,a=a.g,Mb(a,a.g+b));break;case 5:a=a.g;Mb(a,a.g+4);break;case 3:b=a.l;do{if(!Tb(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.h){if(a.l!=b)throw Error("Unmatched end-group tag");break}Ub(a)}while(1);break;default:throw xb(a.h,a.i);}},Vb=function(a,b,c){var d=a.g.h,e=Nb(a.g)>>>0,g=a.g.g+e,f=g-d;0>=f&&(a.g.h=g,c(b,a,void 0,void 0,void 0),f=g-a.g.g);if(f)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-f)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.g.g=g;a.g.h=d},Wb=[];var Xb=function(a,b){this.h=a>>>0;this.g=b>>>0},Zb=function(a){if(!a)return Yb||(Yb=new Xb(0,0));if(!/^-?\d+$/.test(a))return null;Jb(a);return new Xb(E,F)},Yb;var $b=function(){this.g=[]};$b.prototype.length=function(){return this.g.length};$b.prototype.end=function(){var a=this.g;this.g=[];return a};var ac=function(a,b,c){for(;0<c||127<b;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},bc=function(a,b){for(;127<b;)a.g.push(b&127|128),b>>>=7;a.g.push(b)};var cc=function(){this.i=[];this.h=0;this.g=new $b},dc=function(a,b){0!==b.length&&(a.i.push(b),a.h+=b.length)},ec=function(a,b){dc(a,a.g.end());dc(a,b)},fc=function(a,b){bc(a.g,8*b+2);b=a.g.end();dc(a,b);b.push(a.h);return b},gc=function(a,b){var c=b.pop();for(c=a.h+a.g.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++},hc=function(a){dc(a,a.g.end());for(var b=new Uint8Array(a.h),c=a.i,d=c.length,e=0,g=0;g<d;g++){var f=c[g];b.set(f,e);e+=f.length}a.i=[b];return b},ic=function(a,b,c,d){null!=c&&(b=fc(a,b),d(c,a),gc(a,b))},kc=function(a,b,c){var d=jc;if(null!=c)for(var e=0;e<c.length;e++){var g=fc(a,b);d(c[e],a);gc(a,g)}};var lc=function(a,b,c){this.g=a;this.h=b;this.ra=c};function mc(a){return Array.prototype.slice.call(a)};function nc(a){return"function"===typeof q.Symbol&&"symbol"===typeof(0,q.Symbol)()?(0,q.Symbol)():a}var oc=nc(),pc=nc("2ex");var qc=oc?function(a,b){a[oc]|=b}:function(a,b){void 0!==a.g?a.g|=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function G(a,b,c){return c?a|b:a&~b}var H=oc?function(a){return a[oc]|0}:function(a){return a.g|0},I=oc?function(a){return a[oc]}:function(a){return a.g},J=oc?function(a,b){a[oc]=b;return a}:function(a,b){void 0!==a.g?a.g=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a};function rc(a,b){J(b,(a|0)&-14591)}function sc(a,b){J(b,(a|34)&-14557)}function tc(a){a=a>>14&1023;return 0===a?536870912:a};var uc={},vc={};function wc(a){return!(!a||"object"!==typeof a||a.g!==vc)}function xc(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var yc;function zc(a,b,c){if(null!=a)if("string"===typeof a)a=a?new ub(a,rb):vb();else if(a.constructor!==ub)if(ob(a))a=a.length?new ub(c?a:new Uint8Array(a),rb):vb();else{if(!b)throw Error();a=void 0}return a}function Ac(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=H(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?v(b,"includes").call(b,c):b.has(c))))return!1;J(a,d|1);return!0}var Bc,Cc=[];J(Cc,55);Bc=Object.freeze(Cc);function Dc(a){if(a&2)throw Error();}var Ec;function Fc(a,b){(b=Ec?b[Ec]:void 0)&&(a[Ec]=mc(b))}var Gc;Object.freeze(new function(){});Object.freeze(new function(){});var Hc=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var Ic;function Jc(a){a=Error(a);Hc(a,"warning");return a};var Kc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Lc(a){var b=typeof a;return"number"===b?v(Number,"isFinite").call(Number,a):"string"!==b?!1:Kc.test(a)}function Mc(a){if(null!=a){if(!v(Number,"isFinite").call(Number,a))throw Jc("enum");a|=0}return a}function Nc(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return v(Number,"isFinite").call(Number,a)?a|0:void 0}function Oc(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return v(Number,"isFinite").call(Number,a)?a>>>0:void 0}function Pc(a){var b=!!b;if(!Lc(a))throw Jc("int64");"string"===typeof a?a=Qc(a):b?(a=v(Math,"trunc").call(Math,a),v(Number,"isSafeInteger").call(Number,a)?a=String(a):(b=String(a),Rc(b)?a=b:(Db(a),a=Ib()))):a=Sc(a);return a}function Rc(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337<Number(a.substring(0,7)):19>a.length?!0:19===a.length&&922337>Number(a.substring(0,6))}function Sc(a){a=v(Math,"trunc").call(Math,a);v(Number,"isSafeInteger").call(Number,a)||(Db(a),a=Fb(E,F));return a}function Qc(a){var b=v(Math,"trunc").call(Math,Number(a));if(v(Number,"isSafeInteger").call(Number,b))return String(b);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));Rc(a)||(Jb(a),a=Ib());return a}function Tc(a){if(null!=a&&"string"!==typeof a)throw Error();return a}function Uc(a){return null==a||"string"===typeof a?a:void 0}function Vc(a,b,c){if(null!=a&&"object"===typeof a&&a.ca===uc)return a;if(Array.isArray(a)){var d=H(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&J(a,e);return new b(a)}};var Yc;function Zc(a,b){Yc=b;a=new a(b);Yc=void 0;return a}var $c,ad;function bd(a){switch(typeof a){case "boolean":return $c||($c=[0,void 0,!0]);case "number":return 0<a?void 0:0===a?ad||(ad=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function K(a,b,c){null==a&&(a=Yc);Yc=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");d=H(a);if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var g=e-1;if(xc(c[g])){d|=256;b=g-(+!!(d&512)-1);if(1024<=b)throw Error("pvtlmt");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(1024<b)throw Error("spvt");d=d&-16760833|(b&1023)<<14}}}J(a,d);return a};function cd(a,b){return dd(b)}function dd(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(Ac(a,void 0,0))return}else{if(ob(a))return ib(a);if(a instanceof ub){var b=a.g;return null==b?"":"string"===typeof b?b:a.g=ib(b)}}}return a};function ed(a,b,c){var d=mc(a),e=d.length,g=b&256?d[e-1]:void 0;e+=g?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(g){b=d[b]={};for(var f in g)Object.prototype.hasOwnProperty.call(g,f)&&(b[f]=c(g[f]))}Fc(d,a);return d}function fd(a,b,c,d,e){if(null!=a){if(Array.isArray(a))a=Ac(a,void 0,0)?void 0:e&&H(a)&2?a:gd(a,b,c,void 0!==d,e);else if(xc(a)){var g={},f;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(g[f]=fd(a[f],b,c,d,e));a=g}else a=b(a,d);return a}}function gd(a,b,c,d,e){var g=d||c?H(a):0;d=d?!!(g&32):void 0;for(var f=mc(a),h=0;h<f.length;h++)f[h]=fd(f[h],b,c,d,e);c&&(Fc(f,a),c(g,f));return f}function hd(a){return a.ca===uc?a.toJSON():dd(a)};function id(a,b,c){c=void 0===c?sc:c;if(null!=a){if(gb&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=H(a);d&2||(b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16))),a=b?J(a,(d|34)&-12293):gd(a,id,d&4?sc:c,!0,!0));return a}a.ca===uc&&(c=a.j,d=I(c),a=d&2?a:Zc(a.constructor,jd(c,d,!0)));return a}}function jd(a,b,c){var d=c||b&2?sc:rc,e=!!(b&32);a=ed(a,b,function(g){return id(g,e,d)});qc(a,32|(c?2:0));return a}function kd(a){var b=a.j,c=I(b);return c&2?Zc(a.constructor,jd(b,c,!1)):a};var md=function(a,b){a=a.j;return ld(a,I(a),b)};function nd(a,b,c,d){b=d+(+!!(b&512)-1);if(!(0>b||b>=a.length||b>=c))return a[b]}var ld=function(a,b,c,d){if(-1===c)return null;var e=tc(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var g=a.length;if(d&&b&256&&(d=a[g-1][c],null!=d)){if(nd(a,b,e,c)&&null!=pc){var f;a=null!=(f=Ic)?f:Ic={};f=a[pc]||0;4<=f||(a[pc]=f+1,f=Error(),Hc(f,"incident"),Ra(f))}return d}return nd(a,b,e,c)}};function M(a,b,c,d,e){var g=tc(b);if(c>=g||e){var f=b;if(b&256)e=a[a.length-1];else{if(null==d)return f;e=a[g+(+!!(b&512)-1)]={};f|=256}e[c]=d;c<g&&(a[c+(+!!(b&512)-1)]=void 0);f!==b&&J(a,f);return f}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}function od(a){return!!(2&a)&&!!(4&a)||!!(2048&a)}var N=function(a,b){a=a.j;var c=I(a),d=ld(a,c,b),e=zc(d,!0,!!(c&34));null!=e&&e!==d&&M(a,c,b,e);return null==e?vb():e};function O(a,b,c,d){var e=a.j,g=I(e);Dc(g);M(e,g,b,("0"===d?0===Number(c):c===d)?void 0:c);return a}var pd=function(a,b,c,d){var e=I(a);Dc(e);var g=ld(a,e,c,d),f;if(null!=g&&g.ca===uc)return b=kd(g),b!==g&&M(a,e,c,b,d),b.j;if(Array.isArray(g)){var h=H(g);h&2?f=jd(g,h,!1):f=g;f=K(f,b[0],b[1])}else f=K(void 0,b[0],b[1]);f!==g&&M(a,e,c,f,d);return f},P=function(a,b,c){var d=void 0===d?!1:d;var e=a.j;var g=I(e),f=ld(e,g,c,d);b=Vc(f,b,g);b!==f&&null!=b&&M(e,g,c,b,d);e=b;if(null==e)return e;a=a.j;g=I(a);g&2||(f=kd(e),f!==e&&(e=f,M(a,g,c,e,d)));return e},qd=function(a,b,c){null==c&&(c=void 0);var d=a.j,e=I(d);Dc(e);M(d,e,b,c);return a};function rd(a,b){a=G(a,2,!!(2&b));a=G(a,32,!0);return a=G(a,2048,!1)}function sd(a,b,c){32&b&&c||(a=G(a,32,!1));return a}var Q=function(a,b){var c=void 0===c?0:c;a=Oc(md(a,b));return null!=a?a:c},R=function(a,b){var c=void 0===c?"":c;a=Uc(md(a,b));return null!=a?a:c},S=function(a,b){var c=0;c=void 0===c?0:c;a=md(a,b);a=null==a?a:v(Number,"isFinite").call(Number,a)?a|0:void 0;return null!=a?a:c},td=function(a,b,c){if(null!=c){if("number"!==typeof c)throw Jc("uint32");if(!v(Number,"isFinite").call(Number,c))throw Jc("uint32");c>>>=0}return O(a,b,c,0)},ud=function(a,b,c){return O(a,b,zc(c,!1,!1),vb())};var T=function(a,b,c){this.j=K(a,b,c)};T.prototype.toJSON=function(){return yc?vd(this,this.j,!1):vd(this,gd(this.j,hd,void 0,void 0,!1),!0)};var wd=function(a){yc=!0;try{return JSON.stringify(a.toJSON(),cd)}finally{yc=!1}};T.prototype.O=function(){return!!(H(this.j)&2)};T.prototype.ca=uc;T.prototype.toString=function(){return vd(this,this.j,!1).toString()};function vd(a,b,c){var d=Ta?void 0:a.constructor.pa;var e=I(c?a.j:b);a=b.length;if(!a)return b;var g;if(xc(c=b[a-1])){a:{var f=c;var h={},k=!1,l;for(l in f)if(Object.prototype.hasOwnProperty.call(f,l)){var n=f[l];if(Array.isArray(n)){var p=n;if(Ac(n,d,+l)||wc(n)&&0===n.size)n=null;n!=p&&(k=!0)}null!=n?h[l]=n:k=!0}if(k){for(var r in h){f=h;break a}f=null}}f!=c&&(g=!0);a--}for(l=+!!(e&512)-1;0<a;a--){r=a-1;c=b[r];r-=l;if(!(null==c||Ac(c,d,r)||wc(c)&&0===c.size))break;var t=!0}if(!g&&!t)return b;b=Array.prototype.slice.call(b,0,a);f&&b.push(f);return b};function xd(a){return Array.isArray(a)?a[0]instanceof lc?a:[yd,a]:[a,void 0]}var zd=(0,q.Symbol)();function Ad(a){var b=a[zd];if(!b){var c=Bd(a),d=Cd(a),e=d.i;b=e?function(g,f){return e(g,f,d)}:function(g,f){for(;Tb(f)&&4!=f.h;){var h=f.l,k=d[h];if(!k){var l=d.ja;l&&(l=l[h])&&(k=d[h]=Dd(l))}k&&k(f,g,h)||(k=f,h=k.i,Ub(k),k.ga?k=void 0:(l=k.g.g-h,k.g.g=h,k=Pb(k.g,l)),h=g,k&&(Ec||(Ec=(0,q.Symbol)()),(l=h[Ec])?l.push(k):h[Ec]=[k]))}c===Ed||c===Fd||c.s||(g[Gc||(Gc=(0,q.Symbol)())]=c)};a[zd]=b}return b}function Dd(a){a=xd(a);var b=a[0].g;if(a=a[1]){var c=Ad(a),d=Cd(a).S;return function(e,g,f){return b(e,g,f,d,c)}}return b}var Gd=function(){},Ed,Fd,Hd=(0,q.Symbol)();function Id(a,b,c){var d=c[1];if(d){var e=d[Hd];var g=e?e.S:bd(d[0]);a[b]=null!=e?e:d}g&&g===$c?(a.g||(a.g=new q.Set)).add(b):c[0]&&(a.h||(a.h=new q.Set)).add(b)}function Jd(a,b){return[!1,!b||0<b[0]?void 0:b]}function Bd(a){var b=a[Hd];if(b)return b;b=Kd(a,a[Hd]=new Gd,Jd,Jd,Id);if(!b.ja&&!b.h&&!b.g){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(bd(a[0])===$c?Fd?b=Fd:(b=new Gd,b.S=bd(!0),b=Fd=b):b=Ed||(Ed=new Gd),b=a[Hd]=b):b.s=!0}return b}function Ld(a,b,c){a[b]=c}function Kd(a,b,c,d,e){e=void 0===e?Ld:e;b.S=bd(a[0]);var g=0,f=a[++g];f&&f.constructor===Object&&(b.ja=f,f=a[++g],"function"===typeof f&&(b.i=f,b.l=a[++g],f=a[++g]));for(var h={};Array.isArray(f)&&"number"===typeof f[0]&&0<f[0];){for(var k=0;k<f.length;k++)h[f[k]]=f;f=a[++g]}for(k=1;void 0!==f;){"number"===typeof f&&(k+=f,f=a[++g]);var l=void 0;if(f instanceof lc)var n=f;else n=Md,g--;if(n.ra){f=a[++g];l=a;var p=g;"function"==typeof f&&(f=f(),l[p]=f);l=f}f=a[++g];p=k+1;"number"===typeof f&&0>f&&(p-=f,f=a[++g]);for(;k<p;k++){var r=h[k];e(b,k,l?d(n,l,r):c(n,r))}}return b}var Nd=(0,q.Symbol)();function Od(a){var b=a[Nd];if(!b){var c=Pd(a);b=function(d,e){return Qd(d,e,c)};a[Nd]=b}return b}var Rd=(0,q.Symbol)();function Sd(a){return a.h}function Td(a,b){var c,d,e=a.h;return function(g,f,h){return e(g,f,h,d||(d=Pd(b).S),c||(c=Od(b)))}}function Pd(a){var b=a[Rd];if(b)return b;b=Kd(a,a[Rd]={},Sd,Td);Ud(a);return b}var Vd=(0,q.Symbol)();function Wd(a,b){var c=a.g;return b?function(d,e,g){return c(d,e,g,b)}:c}function Xd(a,b,c){var d=a.g,e,g;return function(f,h,k){return d(f,h,k,g||(g=Cd(b).S),e||(e=Ad(b)),c)}}function Cd(a){var b=a[Vd];if(b)return b;Bd(a);b=Kd(a,a[Vd]={},Wd,Xd);Ud(a);return b}function Ud(a){Vd in a&&Hd in a&&Rd in a&&(a.length=0)}function Yd(a,b){var c=a[b];if(c)return c;if(c=a.ja)if(c=c[b]){c=xd(c);var d=c[0].h;if(c=c[1]){var e=Od(c),g=Pd(c).S;c=(c=a.l)?c(g,e):function(f,h,k){return d(f,h,k,g,e)}}else c=d;return a[b]=c}}function Qd(a,b,c){for(var d=I(a),e=+!!(d&512)-1,g=a.length,f=g+(d&256?-1:0),h=d&512?1:0;h<f;h++){var k=a[h];if(null!=k){var l=h-e,n=Yd(c,l);n&&n(b,k,l)}}if(d&256){d=a[g-1];for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(e=+p,v(Number,"isNaN").call(Number,e)||(g=d[p],null!=g&&(f=Yd(c,e))&&f(b,g,e)))}if(a=Ec?a[Ec]:void 0)for(dc(b,b.g.end()),c=0;c<a.length;c++)dc(b,wb(a[c])||qb())}var Zd=function(a,b){var c=new cc;Qd(a.j,c,Pd(b));return hc(c)};function $d(a,b){return new lc(a,b,!1)}function ae(a,b,c,d,e){ic(a,c,b instanceof T?b.j:Array.isArray(b)?K(b,d[0],d[1]):void 0,e)}var be=$d(function(a,b,c){if(0!==a.h)return!1;a=a.g;var d=0,e=0,g=0,f=a.i,h=a.g;do{var k=f[h++];d|=(k&127)<<g;g+=7}while(32>g&&k&128);32<g&&(e|=(k&127)>>4);for(g=3;32>g&&k&128;g+=7)k=f[h++],e|=(k&127)<<g;Mb(a,h);if(128>k)a=Fb(d>>>0,e>>>0);else throw yb();M(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){a:if(null!=b){if(Lc(b)){if("string"===typeof b){b=Qc(b);break a}if("number"===typeof b){b=Sc(b);break a}}b=void 0}null!=b&&("string"===typeof b&&Zb(b),null!=b&&(bc(a.g,8*c),"number"===typeof b?(a=a.g,Db(b),ac(a,E,F)):(c=Zb(b),ac(a.g,c.h,c.g))))}),ce=$d(function(a,b,c){if(2!==a.h)return!1;var d,e=Nb(a.g)>>>0;a=a.g;var g=Ob(a,e);a=a.i;if(Na){var f=a;(d=Ma)||(d=Ma=new TextDecoder("utf-8",{fatal:!0}));e=g+e;f=0===g&&e===f.length?f:f.subarray(g,e);try{var h=d.decode(f)}catch(p){if(void 0===La){try{d.decode(new Uint8Array([128]))}catch(r){}try{d.decode(new Uint8Array([97])),La=!0}catch(r){La=!1}}!La&&(Ma=void 0);throw p;}}else{h=g;e=h+e;g=[];for(var k=null,l,n;h<e;)l=a[h++],128>l?g.push(l):224>l?h>=e?Ja():(n=a[h++],194>l||128!==(n&192)?(h--,Ja()):g.push((l&31)<<6|n&63)):240>l?h>=e-1?Ja():(n=a[h++],128!==(n&192)||224===l&&160>n||237===l&&160<=n||128!==((d=a[h++])&192)?(h--,Ja()):g.push((l&15)<<12|(n&63)<<6|d&63)):244>=l?h>=e-2?Ja():(n=a[h++],128!==(n&192)||0!==(l<<28)+(n-144)>>30||128!==((d=a[h++])&192)||128!==((f=a[h++])&192)?(h--,Ja()):(l=(l&7)<<18|(n&63)<<12|(d&63)<<6|f&63,l-=65536,g.push((l>>10&1023)+55296,(l&1023)+56320))):Ja(),8192<=g.length&&(k=Ka(k,g),g.length=0);h=Ka(k,g)}d=h;M(b,I(b),c,""===d?void 0:d);return!0},function(a,b,c){b=Uc(b);if(null!=b){var d=!1;d=void 0===d?!1:d;if(Qa){if(d&&(Pa?!b.Fa():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b)))throw Error("Found an unpaired surrogate");b=(Oa||(Oa=new TextEncoder)).encode(b)}else{for(var e=0,g=new Uint8Array(3*b.length),f=0;f<b.length;f++){var h=b.charCodeAt(f);if(128>h)g[e++]=h;else{if(2048>h)g[e++]=h>>6|192;else{if(55296<=h&&57343>=h){if(56319>=h&&f<b.length){var k=b.charCodeAt(++f);if(56320<=k&&57343>=k){h=1024*(h-55296)+k-56320+65536;g[e++]=h>>18|240;g[e++]=h>>12&63|128;g[e++]=h>>6&63|128;g[e++]=h&63|128;continue}else f--}if(d)throw Error("Found an unpaired surrogate");h=65533}g[e++]=h>>12|224;g[e++]=h>>6&63|128}g[e++]=h&63|128}}b=e===g.length?g:g.subarray(0,e)}bc(a.g,8*c+2);bc(a.g,b.length);ec(a,b)}}),yd=new lc(function(a,b,c,d,e){if(2!==a.h)return!1;Vb(a,pd(b,d,c,!0),e);return!0},ae,!0),Md=new lc(function(a,b,c,d,e){if(2!==a.h)return!1;Vb(a,pd(b,d,c),e);return!0},ae,!0),de=$d(function(a,b,c){if(2!==a.h)return!1;var d=Nb(a.g)>>>0;a=Pb(a.g,d);a=a===vb()?void 0:a;M(b,I(b),c,a);return!0},function(a,b,c){b=null==b||"string"==typeof b||ob(b)||b instanceof ub?b:void 0;null!=b&&(b=Ab(b).buffer,bc(a.g,8*c+2),bc(a.g,b.length),ec(a,b))}),U=$d(function(a,b,c){if(0!==a.h)return!1;a=Nb(a.g)>>>0;M(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){b=Oc(b);null!=b&&null!=b&&(bc(a.g,8*c),bc(a.g,b))}),ee=$d(function(a,b,c){if(0!==a.h)return!1;a=Nb(a.g);M(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){b=Nc(b);if(null!=b)if(b=parseInt(b,10),bc(a.g,8*c),a=a.g,c=b,0<=c)bc(a,c);else{for(b=0;9>b;b++)a.g.push(c&127|128),c>>=7;a.g.push(1)}});function fe(a,b){return function(c,d){if(Wb.length){var e=Wb.pop();Rb(e,d);Kb(e.g,c,d);c=e}else c=new Sb(c,d);try{var g=new a,f=g.j;Ad(b)(f,c);var h=g}finally{c.g.clear(),c.l=-1,c.h=-1,100>Wb.length&&Wb.push(c)}return h}}function ge(a){return function(b){return Zd(b,a)}};var he=function(a){this.j=K(a)};y(he,T);var ie=ge([0,ee,ce]);var je=function(a,b){var c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};var ke=function(a){this.g=a};ke.prototype.toString=function(){return this.g+""};var le=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");var me=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)},ne=function(a){a=void 0===a?document:a;return a.createElement("img")};var oe=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),pe=function(a,b){this.g=a;this.h=b},qe=function(a,b){this.url=a;this.ma=!!b;this.depth=null};var re=function(){this.i="&";this.h={};this.l=0;this.g=[]},se=function(a,b){var c={};c[a]=b;return[c]},ue=function(a,b,c,d,e){var g=[];me(a,function(f,h){(f=te(f,b,c,d,e))&&g.push(h+"="+f)});return g.join(b)},te=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var g=[],f=0;f<a.length;f++)g.push(te(a[f],b,c,d+1,e));return g.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(ue(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))},we=function(a,b){var c="https://pagead2.googlesyndication.com"+b,d=ve(a)-b.length;if(0>d)return"";a.g.sort(function(n,p){return n-p});b=null;for(var e="",g=0;g<a.g.length;g++)for(var f=a.g[g],h=a.h[f],k=0;k<h.length;k++){if(!d){b=null==b?f:b;break}var l=ue(h[k],a.i,",$");if(l){l=e+l;if(d>=l.length){d-=l.length;c+=l;e=a.i;break}b=null==b?f:b}}a="";null!=b&&(a=e+"trn="+b);return c+a},ve=function(a){var b=1,c;for(c in a.h)b=c.length>b?c.length:b;return 3997-b-a.i.length-1};var xe=function(){this.h=this.g},ze=function(a,b){try{var c=b()}catch(g){b=!1;try{b=a.h(987,new je(g,{message:ye(g)}),void 0,void 0)}catch(f){a.g(217,f)}if(b){var d,e;null==(d=window.console)||null==(e=d.error)||e.call(d,g)}else throw g;}return c},Ae=function(a,b){return function(){var c=Ea.apply(0,arguments);return ze(a,function(){return b.apply(void 0,c)})}};xe.prototype.g=function(a,b,c,d,e){e=e||"topics_frame_error";try{var g=new re;g.g.push(1);g.h[1]=se("context",a);b.error&&b.meta&&b.id||(b=new je(b,{message:ye(b)}));if(b.msg){var f=b.msg.substring(0,512);g.g.push(2);g.h[2]=se("msg",f)}var h=b.meta||{};if(d)try{d(h)}catch(kb){}b=[h];g.g.push(3);g.h[3]=b;d=Ha;b=[];f=null;do{var k=d;try{var l;if(l=!!k&&null!=k.location.href)b:{try{Za(k.foo);l=!0;break b}catch(kb){}l=!1}var n=l}catch(kb){n=!1}if(n){var p=k.location.href;f=k.document&&k.document.referrer||null}else p=f,f=null;b.push(new qe(p||""));try{d=k.parent}catch(kb){d=null}}while(d&&k!=d);p=0;for(var r=b.length-1;p<=r;++p)b[p].depth=r-p;k=Ha;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==b.length-1)for(r=1;r<b.length;++r){var t=b[r];t.url||(t.url=k.location.ancestorOrigins[r-1]||"",t.ma=!0)}var u=new qe(Ha.location.href,!1);k=null;var A=b.length-1;for(t=A;0<=t;--t){var B=b[t];!k&&oe.test(B.url)&&(k=B);if(B.url&&!B.ma){u=B;break}}B=null;var L=b.length&&b[A].url;0!=u.depth&&L&&(B=b[A]);var va=new pe(u,B);if(va.h){var Lh=va.h.url||"";g.g.push(4);g.h[4]=se("top",Lh)}var Wc={url:va.g.url||""};if(va.g.url){var Xc=va.g.url.match(le),jf=Xc[1],kf=Xc[3],lf=Xc[4];u="";jf&&(u+=jf+":");kf&&(u+="//",u+=kf,lf&&(u+=":"+lf));var mf=u}else mf="";Wc=[Wc,{url:mf}];g.g.push(5);g.h[5]=Wc;Be(e,g,c)}catch(kb){try{Be(e,{context:"ecmserr",rctx:a,msg:ye(kb),url:va&&va.g.url},c)}catch(Wi){}}return!1};var Ce=function(a,b,c){c.catch(function(d){d=d?d:"unknown rejection";a.g(b,d instanceof Error?d:Error(d),void 0,void 0)})},ye=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n")}catch(e){b=c}}return b};function De(a,b,c,d){d=void 0===d?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=ne(a.document);if(c){var g=function(){if(c){var f=a.google_image_requests,h=Array.prototype.indexOf.call(f,e,void 0);0<=h&&Array.prototype.splice.call(f,h,1)}e.removeEventListener&&e.removeEventListener("load",g,!1);e.removeEventListener&&e.removeEventListener("error",g,!1)};e.addEventListener&&e.addEventListener("load",g,!1);e.addEventListener&&e.addEventListener("error",g,!1)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)}var Fe=function(a,b){var c=void 0===c?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;me(a,function(e,g){if(e||0===e)d+="&"+g+"="+encodeURIComponent(""+e)});Ee(d,c)},Ee=function(a,b){var c=window;b=void 0===b?!1:b;var d=void 0===d?!1:d;c.fetch?(b={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"},d&&(b.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?b.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}:b.headers={"Attribution-Reporting-Eligible":"event-source"}),c.fetch(a,b)):De(c,a,void 0===b?!1:b,void 0===d?!1:d)};function Ge(a,b){var c=new cc;try{var d=a.filter(function(g){return g.na}).map(He);kc(c,1,d);ic(c,2,ie(b),jc);var e=a.filter(function(g){return!g.na}).map(He);kc(c,3,e)}catch(g){Ie(g,b)}return hc(c)}function Ie(a,b){try{Fe({m:ye(a instanceof Error?a:Error(String(a))),b:S(b,1)||null,v:R(b,2)||null},"rcs_internal")}catch(c){}}function He(a){var b=new cc;ic(b,a.Ka,a.Ha,jc);return hc(b)}function jc(a,b){ec(b,a.subarray(0,a.length))}var Je=function(a,b){var c=new he;a=O(c,1,Mc(a),0);b=O(a,2,Tc(b),"");a=b.j;c=I(a);this.g=c&2?b:Zc(b.constructor,jd(a,c,!0))};var Ke=function(a){this.j=K(a)};y(Ke,T);var Le=function(a,b){return O(a,1,null==b?b:Pc(b),"0")},Me=function(a,b){return O(a,2,null==b?b:Pc(b),"0")},Ne=ge([0,be,-1]);var Oe=function(){Je.apply(this,arguments)};y(Oe,Je);var Pe=function(){Oe.apply(this,arguments)};y(Pe,Oe);Pe.prototype.l=function(){this.s.apply(this,ka(Ea.apply(0,arguments).map(function(a){return{na:!0,Ka:16,Ha:Ne(a)}})))};var Qe=function(a,b,c,d){Pe.call(this,a,b);this.i=c;this.h=d};y(Qe,Pe);Qe.prototype.s=function(){var a=Ea.apply(0,arguments);try{var b=encodeURIComponent(db(Ge(a,this.g),3));this.h(this.i+"?e=4&d="+b)}catch(c){Ie(c,this.g)}};var Re=function(a,b){this.data=a;this.g=b},Te=function(a,b,c,d){a=a.g;d=void 0===d?[]:d;c=Se(c);a.g.postMessage(b,[c.port2].concat(d))};var Ue=function(a){this.g=a},We=function(a,b){Ve(a,b);return new Ue(a)},Se=function(a){var b=new MessageChannel;Ve(b.port1,a);return b},Ve=function(a,b){b&&(a.onmessage=function(c){var d=c.data;c=We(c.ports[0]);b(new Re(d,c))})};var Xe=function(a){var b=a.destination,c=a.origin,d=void 0===a.Ja?void 0:a.Ja,e=void 0===a.ka?"ZNWN1d":a.ka;a=void 0===a.onMessage?void 0:a.onMessage;if("*"===c)throw Error("Sending to wildcard origin not allowed.");var g=Se(a),f={};d=d?(f.n=e,f.t=d,f):e;b.postMessage(d,c,[g.port2]);We(g.port1,a)};var Be=function(a,b,c){if(Math.random()<(c||.01))try{if(b instanceof re)var d=b;else d=new re,me(b,function(g,f){var h=d,k=h.l++;g=se(f,g);h.g.push(k);h.h[k]=g});var e=we(d,"/pagead/gen_204?id="+a+"&");e&&De(Ha,e,!1,!1)}catch(g){}};/*

 SPDX-License-Identifier: Apache-2.0
*/
var Ye=ja(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),Ze=function(a){var b=Ea.apply(1,arguments);if(0===b.length)return new ke(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return new ke(c)}(Ye);function $e(a){for(var b=[],c=0;8>c;++c){var d=new Qe(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){b.push({url:g})}),e=Me(Le(new Ke,a),c);d.l(e)}return b}function af(a){var b=window;var c=void 0===c?Ze:c;var d,e;return C(function(g){switch(g.h){case 1:d=b;if(d.sharedStorage){var f=void 0===f?Ha:f;f=f.performance;f=d.sharedStorage.set("ps_cct",String(f&&f.now&&f.timing?Math.floor(f.now()+f.timing.navigationStart):Date.now()),{ignoreIfPresent:!0});g=z(g,f,2)}else g=g.return();return g;case 2:return z(g,d.sharedStorage.worklet.addModule(c.toString()),3);case 3:return z(g,d.sharedStorage.selectURL("ps_caus",$e(a),{resolveToConfig:!0}),4);case 4:e=g.g;f=d.document.body;var h=document.createElement("fencedframe");h.id="ps_caff";h.name="ps_caff";h.mode="opaque-ads";h.config=e;f.appendChild(h);g.h=0}})};var bf=function(a){this.j=K(a)};y(bf,T);bf.prototype.o=function(){return R(this,2)};var cf=function(a){this.j=K(a)};y(cf,T);var df=function(a,b){var c=a.j,d=I(c);Dc(d);if(null==b)M(c,d,1);else{var e=H(b),g=e,f=!!(2&e)||!!(2048&e),h=f||Object.isFrozen(b),k;if(k=!h)k=!1;for(var l=!0,n=!0,p=0;p<b.length;p++){var r=b[p];f||(r=!!(H(r.j)&2),l&&(l=!r),n&&(n=r))}f||(e=G(e,5,!0),e=G(e,8,l),e=G(e,16,n));if(k||h&&e!==g)b=mc(b),g=0,e=rd(e,d),e=sd(e,d,!0);e!==g&&J(b,e);M(c,d,1,b)}return a};cf.pa=[1];/*

 Copyright 2020 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var ef=function(){};var V=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);v(Object,"setPrototypeOf").call(Object,this,V.prototype)};y(V,Error);V.prototype.name="SecurityException";var ff=function(a){this.j=K(a)};y(ff,T);var gf=[0,U];var hf=function(a){this.j=K(a)};y(hf,T);hf.prototype.o=function(){return Q(this,1)};var nf=[0,U,gf,de];var of=function(a){this.j=K(a)};y(of,T);var pf=[0,ee,U];var qf=function(a){this.j=K(a)};y(qf,T);qf.prototype.o=function(){return Q(this,1)};var rf=[0,U,pf,de];var sf=function(a){this.j=K(a)};y(sf,T);sf.prototype.o=function(){return Q(this,1)};var tf=fe(sf,[0,U,nf,rf]);var uf=function(a){this.j=K(a)};y(uf,T);var vf=[0,gf,U];var wf=function(a){this.j=K(a)};y(wf,T);wf.prototype.o=function(){return Q(this,3)};var xf=[0,pf,U,-1];var yf=function(a){this.j=K(a)};y(yf,T);var zf=fe(yf,[0,vf,xf]);var Af=function(a){this.j=K(a)};y(Af,T);Af.prototype.o=function(){return Q(this,1)};var Bf=fe(Af,[0,U,1,de]);var Cf=function(a){this.j=K(a)};y(Cf,T);Cf.prototype.o=function(){return Q(this,3)};var Df=fe(Cf,[0,1,U,-1]);var Ef=function(a){this.j=K(a)};y(Ef,T);var Ff=[0,ce,de,ee];var Gf=function(a){this.j=K(a)};y(Gf,T);var Hf=[0,1,Ff];var If=function(a){this.j=K(a)};y(If,T);var Jf=[0,ee,-1,8,de];var Kf=function(a){this.j=K(a)};y(Kf,T);var Lf=[0,Jf,Hf,ee];var Mf=function(a){this.j=K(a)};y(Mf,T);var Nf=fe(Mf,[0,Lf]);var Of=function(a){this.j=K(a)};y(Of,T);Of.prototype.o=function(){return Q(this,1)};var Pf=[0,U,Lf,de,-1],Qf=fe(Of,Pf);var Rf=function(a){this.j=K(a)};y(Rf,T);Rf.prototype.o=function(){return Q(this,1)};var Sf=fe(Rf,[0,U,Pf,de]);var Tf=function(a){this.j=K(a)};y(Tf,T);Tf.prototype.M=function(){return S(this,3)};var Uf=[0,ee,-2];var Vf=function(a){this.j=K(a)};y(Vf,T);var Wf=[0,Uf],Xf=fe(Vf,Wf);Vf.prototype.g=function(a){return function(){return Zd(this,a)}}(Wf);var Yf=function(a){this.j=K(a)};y(Yf,T);Yf.prototype.o=function(){return Q(this,1)};var Zf=[0,U,Uf,de],$f=fe(Yf,Zf);var ag=function(a){this.j=K(a)};y(ag,T);ag.prototype.o=function(){return Q(this,1)};var bg=fe(ag,[0,U,Zf,de]);var cg=function(a){this.j=K(a)};y(cg,T);var dg=function(a){this.j=K(a)};y(dg,T);var eg=function(a){this.j=K(a)};y(eg,T);var fg=function(a){a=a.j;var b=I(a),c=b,d=!(2&b),e=!!(2&c);b=e?1:2;d&&(d=!e);e=ld(a,c,2);e=Array.isArray(e)?e:Bc;var g=H(e),f=!!(4&g);if(!f){var h=g;0===h&&(h=rd(h,c));h=G(h,1,!0);g=e;var k=c,l=!!(2&h);l&&(k=G(k,2,!0));for(var n=!l,p=!0,r=0,t=0;r<g.length;r++){var u=Vc(g[r],dg,k);if(u instanceof dg){if(!l){var A=!!(H(u.j)&2);n&&(n=!A);p&&(p=A)}g[t++]=u}}t<r&&(g.length=t);h=G(h,4,!0);h=G(h,16,p);h=G(h,8,n);J(g,h);l&&Object.freeze(g);g=h}if(d&&!(8&g||!e.length&&(1===b||4===b&&32&g))){od(g)&&(e=mc(e),g=rd(g,c),c=M(a,c,2,e));d=e;for(h=0;h<d.length;h++)k=d[h],l=kd(k),k!==l&&(d[h]=l);g=G(g,8,!0);g=G(g,16,!d.length);J(d,g)}od(g)||(d=g,(h=1===b||4===b&&!!(32&g))?(k=!!(32&g),g=G(g,!e.length||16&g&&(!f||k)?2:2048,!0)):g=sd(g,c,!1),g!==d&&J(e,g),h&&Object.freeze(e));2===b&&od(g)&&(e=mc(e),g=rd(g,c),g=sd(g,c,!1),J(e,g),M(a,c,2,e));return e},gg=function(a){return function(b){if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");qc(b,32);b=Zc(a,b)}return b}}(eg);eg.pa=[2];function W(a){null==a?a=void 0:a=(a=wb(a))?new Uint8Array(a):qb();return a}function hg(a){null==a?a=void 0:a=(a=wb(a))?a.length:0;return a};var X=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);v(Object,"setPrototypeOf").call(Object,this,X.prototype)};y(X,Error);X.prototype.name="InvalidArgumentsException";function Y(){for(var a=0,b=0;b<arguments.length;b++)a+=arguments[b].length;a=new Uint8Array(a);for(var c=b=0;c<arguments.length;c++)a.set(arguments[c],b),b+=arguments[c].length;return a}function ig(a){if(v(Number,"isNaN").call(Number,a)||0!==a%1)throw new X("cannot convert non-integer value");if(0>a)throw new X("cannot convert negative number");if(a>v(Number,"MAX_SAFE_INTEGER"))throw new X("cannot convert number larger than "+v(Number,"MAX_SAFE_INTEGER"));var b=Math.pow(2,32),c=a%b;a/=b;b=new Uint8Array(8);for(var d=7;4<=d;d--)b[d]=c&255,c>>>=8;for(c=3;0<=c;c--)b[c]=a&255,a>>>=8;return b}function jg(a){for(var b="",c=0;c<a.length;c++){var d=a[c].toString(16);b+=1<d.length?d:"0"+d}return b}function kg(a){return lg(q.globalThis.atob(a.replace(/-/g,"+").replace(/_/g,"/")))}function mg(a){for(var b="",c=0;c<a.length;c+=1)b+=String.fromCharCode(a[c]);return q.globalThis.btoa(b).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function lg(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);b[c++]=e}return new Uint8Array(b)};function ng(a){switch(a){case 1:return"P-256";case 2:return"P-384";case 3:return"P-521"}}function og(a){switch(a){case "P-256":return 1;case "P-384":return 2;case "P-521":return 3}throw new X("unknown curve: "+a);}function pg(a){if(void 0===a.crv)throw new X("crv must be provided");var b=qg(og(a.crv));if(void 0===a.x)throw new X("x must be provided");if(void 0===a.y)throw new X("y must be provided");var c=kg(a.x);if(c.length!==b)throw new X("x-coordinate byte-length is invalid (got: "+c.length+", want: "+b+").");a=kg(a.y);if(a.length!==b)throw new X("y-coordinate byte-length is invalid (got: "+a.length+", want: "+b+").");}function rg(a,b,c){a=qg(og(a));switch(b){case 1:pg(c);b=c.x;c=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===c)throw new X("y must be provided");var d=new Uint8Array(1+2*a);d[0]=4;d.set(kg(b),1);d.set(kg(c),1+a);return d;case 3:pg(c);b=c.x;d=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===d)throw new X("y must be provided");c=kg(b);b=kg(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2*a);d.set(c,0);d.set(b,a);return d;case 2:b=c.x;d=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===d)throw new X("y must be provided");c=kg(b);b=kg(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=sg(BigInt("0x"+jg(b)),0)?3:2;return d;default:throw new V("invalid format");}}function tg(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new X("invalid curve");}}function ug(a){a=a.toString(16);a=0===a.length%2?a:"0"+a;if(0!=a.length%2)throw new X("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c<a.length;c+=2)b[c/2]=parseInt(a.substring(c,c+2),16);return b}function sg(a,b){return(a&BigInt(1)<<BigInt(b))!==BigInt(0)}function vg(a,b,c){var d=qg(og(a));switch(b){case 1:if(c.length!==1+2*d||4!==c[0])throw new V("invalid point");return{kty:"EC",crv:a,x:mg(new Uint8Array(c.subarray(1,1+d))),y:mg(new Uint8Array(c.subarray(1+d,c.length))),ext:!0};case 3:if(c.length!==2*d)throw new V("invalid point");return{kty:"EC",crv:a,x:mg(new Uint8Array(c.subarray(0,d))),y:mg(new Uint8Array(c.subarray(d,c.length))),ext:!0};case 2:if(c.length!==1+d)throw new V("compressed point has wrong length");if(2!==c[0]&&3!==c[0])throw new V("invalid format");b=3===c[0];c=BigInt("0x"+jg(c.subarray(1,c.length)));d=tg(og(a));if(c<BigInt(0)||c>=d)throw new V("x is out of range");d=tg(og(a));var e=d-BigInt(3);a:switch(og(a)){case 1:var g=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:g=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:g=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");break a;default:throw new X("invalid curve");}if(d<=BigInt(0))throw new X("p must be positive");e=((c*c+e)*c+g)%d%d;if(sg(d,0)&&sg(d,1)){var f=d+BigInt(1)>>BigInt(2);if(f===BigInt(0))g=BigInt(1);else{g=e;f=f.toString(2);for(var h=1;h<f.length;++h)g=g*g%d,"1"===f[h]&&(g=g*e%d)}if(g*g%d!==e)throw new V("could not find a modular square root");e=g}else throw new X("unsupported modulus value");b!==sg(e,0)&&(e=(d-e)%d);b=e;return{kty:"EC",crv:a,x:mg(ug(c)),y:mg(ug(b)),ext:!0};default:throw new V("invalid format");}}function qg(a){switch(a){case 1:return 32;case 2:return 48;case 3:return 66}}function wg(a,b){var c,d,e,g,f;return C(function(h){if(1==h.h){c=a.algorithm;d=c.namedCurve;if(!d)throw new X("namedCurve must be provided");e=v(Object,"assign").call(Object,{},{"public":b},a.algorithm);g=8*qg(og(d));return z(h,q.globalThis.crypto.subtle.deriveBits(e,a,g),2)}f=h.g;return h.return(new Uint8Array(f))})}function xg(a){var b,c;return C(function(d){if(1==d.h)return b={name:"ECDH",namedCurve:a},z(d,q.globalThis.crypto.subtle.generateKey(b,!0,["deriveKey","deriveBits"]),2);c=d.g;return d.return(c)})}function yg(a){var b;return C(function(c){if(1==c.h)return z(c,q.globalThis.crypto.subtle.exportKey("jwk",a),2);b=c.g;pg(b);return c.return(b)})}function zg(a){var b,c,d;return C(function(e){if(1==e.h){b=a;c=b.crv;if(!c)throw new X("crv must be provided");return z(e,q.globalThis.crypto.subtle.importKey("jwk",a,{name:"ECDH",namedCurve:c},!0,[]),2)}d=e.g;return e.return(d)})}function Ag(a){var b,c,d;return C(function(e){if(1==e.h){b=a;c=b.crv;if(!c)throw new X("crv must be provided");return z(e,q.globalThis.crypto.subtle.importKey("jwk",a,{name:"ECDH",namedCurve:c},!0,["deriveKey","deriveBits"]),2)}d=e.g;return e.return(d)})};function Bg(a,b){var c=a.length;if(c<b)return b=new Uint8Array(b-c),Y(b,a);if(c>b){for(var d=0;d<c-b;d++)if(0!=a[d])throw new V("Number needs more bytes to be represented.");return a.slice(c-b,c)}return a}function Cg(a){switch(a){case 2:return 1;case 3:return 2;case 4:return 3;default:throw new V("Unknown curve type.");}}function Dg(a){switch(a){case 1:return"SHA-1";case 3:return"SHA-256";case 4:return"SHA-512";default:throw new V("Unknown hash type.");}}function Eg(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;default:throw new V("Unknown point format.");}};var Fg=new q.Map,Gg=new q.Map,Hg=new q.Map;function Ig(a){var b;void 0===b&&(b=!0);if(!a)throw new V("Key manager cannot be null.");var c=a.B();if(Fg.has(c)){if(!(Fg.get(c)instanceof a.constructor))throw new V("Key manager for key type "+c+" has already been registered and cannot be overwritten.");if(!Gg.get(c)&&b)throw new V("Key manager for key type "+c+" has already been registered with forbidden new key operation.");Gg.set(c,b)}Fg.set(c,a);Gg.set(c,b)}function Jg(a){var b=Fg.get(a);if(!b)throw new V("Key manager for key type "+a+" has not been registered.");return b}function Kg(a,b,c){var d,e;return C(function(g){if(1==g.h){if(b instanceof cg){if(c&&R(b,1)!=c)throw new V("Key type is "+c+", but it is expected to be "+R(b,1)+" or undefined.");c=R(b,1)}if(!c)throw new V("Key type has to be specified.");d=Jg(c);return z(g,d.D(a,b),2)}e=g.g;if(!(e instanceof a))throw new TypeError("Unexpected type");return g.return(e)})}function Lg(a){if(!a)throw new V("primitive wrapper cannot be null");var b=a.u();if(!b)throw new V("primitive wrapper cannot be undefined");if(Hg.has(b)&&!(Hg.get(b)instanceof a.constructor))throw new V("primitive wrapper for type "+b+" has already been registered and cannot be overwritten");Hg.set(b,a)};function Mg(a){if(!v(Number,"isInteger").call(Number,a)||0>a)throw new X("n must be a nonnegative integer");a=new Uint8Array(a);q.globalThis.crypto.getRandomValues(a);return a};var Ng=[16,32];function Og(a){if(!v(Ng,"includes").call(Ng,a))throw new X("unsupported AES key size: "+a);}function Z(a){if(null==a||!(a instanceof Uint8Array))throw new X("input must be a non null Uint8Array");}function Pg(a,b){if(0>a||a>b)throw new V("Version is out of bound, must be between 0 and "+b+".");};var Qg=function(a,b){this.key=a;this.K=b};Qg.prototype.encrypt=function(a){var b=this,c,d,e,g;return C(function(f){if(1==f.h)return Z(a),c=Mg(b.K),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},z(f,q.globalThis.crypto.subtle.encrypt(e,b.key,a),2);g=f.g;return f.return(Y(c,new Uint8Array(g)))})};Qg.prototype.decrypt=function(a){var b=this,c,d,e;return C(function(g){if(1==g.h){Z(a);if(a.length<b.K)throw new V("ciphertext too short");c=new Uint8Array(16);c.set(a.subarray(0,b.K));d={name:"AES-CTR",counter:c,length:128};e=Uint8Array;return z(g,q.globalThis.crypto.subtle.decrypt(d,b.key,new Uint8Array(a.subarray(b.K))),2)}return g.return(new e(g.g))})};function Rg(a,b){var c;return C(function(d){if(1==d.h){if(!v(Number,"isInteger").call(Number,b))throw new V("invalid IV length, must be an integer");if(12>b||16<b)throw new V("invalid IV length, must be at least 12 and at most 16");Z(a);Og(a.length);return z(d,q.globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.g;return d.return(new Qg(c,b))})};var Sg=function(){};var Tg=function(a,b,c){this.hash=a;this.key=b;this.L=c};y(Tg,Sg);var Ug=function(a,b){var c;return C(function(d){if(1==d.h)return Z(b),z(d,q.globalThis.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.g;return d.return(new Uint8Array(c.slice(0,a.L)))})},Vg=function(a,b,c){var d;return C(function(e){if(1==e.h)return Z(b),Z(c),z(e,Ug(a,c),2);d=e.g;if(b.length!==d.length)var g=!1;else{for(var f=g=0;f<b.length;f++)g|=b[f]^d[f];g=0==g}return e.return(g)})};function Wg(a,b,c){var d;return C(function(e){if(1==e.h){Z(b);if(!v(Number,"isInteger").call(Number,c))throw new X("invalid tag size, must be an integer");if(10>c)throw new X("tag too short, must be at least "+(10).toString()+" bytes");switch(a){case "SHA-1":if(20<c)throw new X("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(32<c)throw new X("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(48<c)throw new X("tag too long, must not be larger than 48 bytes");break;case "SHA-512":if(64<c)throw new X("tag too long, must not be larger than 64 bytes");break;default:throw new X(a+" is not supported");}return z(e,q.globalThis.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:8*b.length},!1,["sign","verify"]),2)}d=e.g;return e.return(new Tg(a,d,c))})};var Xg=function(a,b,c,d){this.g=a;this.K=b;this.h=c;this.L=d};y(Xg,ef);Xg.prototype.encrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g;return C(function(f){if(1==f.h)return Z(a),z(f,c.g.encrypt(a),2);if(3!=f.h)return d=f.g,Z(b),e=ig(8*b.length),z(f,Ug(c.h,Y(b,d,e)),3);g=f.g;if(c.L!=g.length)throw new V("invalid tag size, expected "+c.L+" but got "+g.length);return f.return(Y(d,g))})};Xg.prototype.decrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g,f,h;return C(function(k){if(1==k.h){Z(a);if(a.length<c.K+c.L)throw new V("ciphertext too short");d=new Uint8Array(a.subarray(0,a.length-c.L));Z(b);e=ig(8*b.length);g=Y(b,d,e);f=new Uint8Array(a.subarray(d.length));return z(k,Vg(c.h,f,g),2)}h=k.g;if(!h)throw new V("invalid MAC");return k.return(c.g.decrypt(d))})};function Yg(a,b,c,d,e){var g,f;return C(function(h){if(1==h.h)return Z(a),Z(d),z(h,Rg(a,b),2);if(3!=h.h)return g=h.g,z(h,Wg(c,d,e),3);f=h.g;return h.return(new Xg(g,b,f,e))})};var Zg=function(){};Zg.prototype.T=function(a){if(a instanceof Uint8Array){try{var b=zf(a)}catch(e){throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(!b||!P(b,uf,1)||!P(b,wf,2))throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}else if(a instanceof yf)b=a;else throw new V("Expected AesCtrHmacAeadKeyFormat-proto");var c=$g(P(b,uf,1));a=c.za;c=c.X;var d=new hf;d=td(d,1,0);a=qd(d,2,a);c=Mg(c);a=ud(a,3,c);c=ah(P(b,wf,2));b=c.Da;c=c.Ca;d=new qf;d=td(d,1,0);b=qd(d,2,b);c=Mg(c);b=ud(b,3,c);c=new sf;a=qd(c,2,a);return qd(a,3,b)};var $g=function(a){if(!a)throw new V("Invalid AES CTR HMAC key format: key format undefined");var b=Q(a,2);Og(b);a=P(a,ff,1);if(!a)throw new V("Invalid AES CTR HMAC key format: params undefined");var c=Q(a,1);if(12>c||16<c)throw new V("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{za:a,X:b,K:c}},ah=function(a){if(!a)throw new V("Invalid AES CTR HMAC key format: key format undefined");var b=Q(a,2);if(16>b)throw new V("Invalid AES CTR HMAC key format: HMAC key is too small: "+Q(a,2));a=P(a,of,1);if(!a)throw new V("Invalid AES CTR HMAC key format: params undefined");var c=Q(a,2);if(10>c)throw new V("Invalid HMAC params: tag size "+c+" is too small.");if(!bh.has(S(a,1)))throw new V("Unknown hash type.");if(c>bh.get(S(a,1)))throw new V("Invalid HMAC params: tag size "+c+" is out of range.");switch(S(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{Da:a,Ca:b,Ba:d,L:c}},bh=new q.Map([[1,20],[3,32],[4,64]]),ch=function(){this.g=new Zg};m=ch.prototype;m.D=function(a,b){var c,d,e,g,f,h=this,k,l,n,p,r,t;return C(function(u){if(1==u.h){if(a!=h.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if(!h.P(R(b,1)))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports "+h.B()+".");try{k=tf(N(b,2))}catch(va){throw new V("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(null===k||void 0===k)throw new V("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}else if(b instanceof sf)k=b;else throw new V("Given key type is not supported. This key manager supports "+h.B()+".");var A=P(k,hf,2);if(!A)throw new V("Invalid AES CTR HMAC key format: key undefined");Pg(A.o(),h.o());var B=new uf;var L=P(A,ff,2);B=qd(B,1,L);L=hg(N(A,3));B=td(B,2,L);B=$g(B).K;g=W(N(A,3));f=B;l=g;n=f;A=P(k,qf,3);if(!A)throw new V("Invalid AES CTR HMAC key format: key undefined");Pg(A.o(),h.o());B=new wf;L=P(A,of,2);B=qd(B,1,L);L=hg(N(A,3));B=td(B,2,L);L=ah(B);B=L.Ba;L=L.L;c=W(N(A,3));d=B;e=L;p=c;r=d;t=e;return z(u,Yg(l,n,r,p,t),2)}return u.return(u.g)})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.u=function(){return ef};m.o=function(){return 0};m.R=function(){return this.g};var dh=function(a){var b=a.G;this.key=a.key;this.G=b};dh.prototype.encrypt=function(a,b,c){var d=this,e,g;return C(function(f){if(1==f.h){if(12!==a.length)throw new V("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return z(f,q.globalThis.crypto.subtle.encrypt(e,d.key,b),2)}g=f.g;return f.return(d.G?Y(a,new Uint8Array(g)):new Uint8Array(g))})};dh.prototype.decrypt=function(a,b,c){var d=this,e,g,f,h,k;return C(function(l){if(1==l.h){e=d.G?28:16;if(b.length<e)throw new V("ciphertext too short");if(12!==a.length)throw new V("IV must be 12 bytes");g={name:"AES-GCM",iv:a,tagLength:128};c&&(g.additionalData=c);f=d.G?new Uint8Array(b.subarray(12)):b;l.s=2;h=Uint8Array;return z(l,q.globalThis.crypto.subtle.decrypt(g,d.key,f),4)}if(2!=l.h)return l.return(new h(l.g));k=xa(l);throw new V(k.toString());})};function eh(a){var b=a.key,c=a.G,d;return C(function(e){if(1==e.h){if(!(aa=[16,32],v(aa,"includes")).call(aa,b.length))throw new X("unsupported AES key size: ${n}");return z(e,q.globalThis.crypto.subtle.importKey("raw",b,{name:"AES-GCM",length:b.length},!1,["encrypt","decrypt"]),2)}d=e.g;return e.return(new dh({key:d,G:c}))})};var fh=function(a){this.key=a;this.g=new dh({key:a,G:!0})};y(fh,ef);fh.prototype.encrypt=function(a,b){var c=this,d;return C(function(e){d=Mg(12);return e.return(c.g.encrypt(d,a,b))})};fh.prototype.decrypt=function(a,b){var c=this,d;return C(function(e){d=new Uint8Array(12);d.set(a.subarray(0,12));return e.return(c.g.decrypt(d,a,b))})};function gh(a){var b;return C(function(c){if(1==c.h)return Og(a.length),z(c,q.globalThis.crypto.subtle.importKey("raw",a,{name:"AES-GCM",length:a.length},!1,["encrypt","decrypt"]),2);b=c.g;return c.return(new fh(b))})};var hh=function(){};hh.prototype.T=function(a){if(a instanceof Uint8Array){try{var b=Df(a)}catch(c){throw new V("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key format.");}if(!Q(b,2))throw new V("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key format.");a=b}else if(!(a instanceof Cf))throw new V("Expected AesGcmKeyFormat-proto");b=a;Og(Q(b,2));a=new Af;b=Mg(Q(b,2));a=ud(a,3,b);return td(a,1,0)};var ih=function(){this.g=new hh};m=ih.prototype;m.D=function(a,b){var c=this,d;return C(function(e){if(1==e.h){if(a!=c.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if("type.googleapis.com/google.crypto.tink.AesGcmKey"!=R(b,1))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.AesGcmKey.");try{var g=Bf(N(b,2))}catch(f){throw new V("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key.");}}else if(b instanceof Af)g=b;else throw new V("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.AesGcmKey.");d=g;Og(hg(N(d,3)));Pg(d.o(),0);return z(e,gh(W(N(d,3))),2)}return e.return(e.g)})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.AesGcmKey"};m.u=function(){return ef};m.o=function(){return 0};m.R=function(){return this.g};var jh=function(){};var kh=function(a,b){b=[b];var c=b.concat;if(!v(Number,"isInteger").call(Number,a)||0>a||a>=Math.pow(2,32))throw new X("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;4>e;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},lh=new Uint8Array(0);var mh=function(a){this.g=a};y(mh,jh);mh.prototype.decrypt=function(a,b){var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:if(!a)throw new V("Ciphertext has to be non-null.");if(!(5<a.length)){k.h=2;break}d=a.subarray(0,5);return z(k,nh(c.g,d),3);case 3:return e=k.g,g=a.subarray(5,a.length),k.s=4,z(k,oh(e,g,b),6);case 6:f=k.g;k.h=5;k.s=0;break;case 4:xa(k);case 5:if(f)return k.return(f);case 2:return z(k,nh(c.g,lh),7);case 7:return h=k.g,k.return(oh(h,a,b))}})};var oh=function(a,b,c){var d,e,g,f;return C(function(h){switch(h.h){case 1:d=a.length,e=0;case 2:if(!(e<d)){h.h=4;break}if(1!=a[e].h){h.h=3;break}g=a[e].D();f=void 0;h.s=5;return z(h,g.decrypt(b,c),7);case 7:f=h.g;h.h=6;h.s=0;break;case 5:xa(h);h.h=3;break;case 6:return h.return(f);case 3:e++;h.h=2;break;case 4:throw new V("Decryption failed for the given ciphertext.");}})},ph=function(){};ph.prototype.qa=function(a){if(!a)throw new V("Primitive set has to be non-null.");return new mh(a)};ph.prototype.u=function(){return jh};function qh(a){var b=null;var c=a instanceof Rf?P(a,Of,2):a;var d=P(c,Kf,2);if(!d)throw new V("Params not set");d=P(d,If,1);if(!d)throw new V("KEM params not set");d=Cg(S(d,1));var e=qg(d),g=Bg(W(N(c,3)),e);c=Bg(W(N(c,4)),e);a instanceof Rf&&(b=Bg(W(N(a,3)),e));a=b;b={kty:"EC",crv:ng(d),x:mg(g),y:mg(c),ext:!0};a&&(b.d=mg(a));return b};function rh(a){var b=P(a,If,1);if(!b)throw new V("Invalid params - missing KEM params.");var c=S(b,1);if(2!==c&&3!==c&&4!==c)throw new V("Invalid KEM params - unknown curve type.");b=S(b,2);if(1!==b&&3!==b&&2!==b&&4!==b)throw new V("Invalid KEM params - unknown hash type.");b=P(a,Gf,2);if(!b)throw new V("Invalid params - missing DEM params.");if(!P(b,Ef,2))throw new V("Invalid DEM params - missing AEAD key template.");b=R(P(b,Ef,2),1);if("type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"!=b&&"type.googleapis.com/google.crypto.tink.AesGcmKey"!=b)throw new V("Invalid DEM params - "+b+" template is not supported by ECIES AEAD HKDF.");a=S(a,3);if(1!==a&&2!==a&&3!==a)throw new V("Invalid key params - unknown EC point format.");}function sh(a,b){Pg(a.o(),b);b=P(a,Kf,2);if(!b)throw new V("Invalid public key - missing key params.");rh(b);if(!hg(N(a,3))||!hg(N(a,4)))throw new V("Invalid public key - missing value of X or Y.");};var th=function(){};var uh=function(a){var b=R(a,1);switch(b){case "type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey":try{var c=zf(N(a,2))}catch(g){throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey.");}if(!P(c,uf,1)||!P(c,wf,2))throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey.");a=c;var d=P(a,uf,1);if(!d)throw new V("AES-CTR key format not set");d=Q(d,2);c=P(a,wf,2);if(!c)throw new V("HMAC key format not set");c=Q(c,2);c=d+c;break;case "type.googleapis.com/google.crypto.tink.AesGcmKey":try{var e=Df(N(a,2))}catch(g){throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey.");}if(!Q(e,2))throw new V("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey.");a=e;c=Q(a,2);break;default:throw new V("Key type URL "+b+" is not supported.");}this.key=Jg(b).R().T(a);this.g=b;this.V=c;this.X=d};uh.prototype.M=function(a){var b=this,c;return C(function(d){if(a.length!==b.V)throw new V("Key is not of the correct length, expected length: "+b.V+", but got key of length: "+a.length+".");if("type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"===b.g){var e=b.key,g=P(e,hf,2);if(!g)throw new V("AES-CTR key not set");ud(g,3,a.slice(0,b.X));g=P(e,qf,3);if(!g)throw new V("HMAC key not set");ud(g,3,a.slice(b.X,b.V));c=e}else{if(!(b.key instanceof Af))throw new V("Key is not an AES-CTR key");c=ud(b.key,3,a)}return d.return(Kg(ef,c,b.g))})};function vh(a,b,c,d,e){var g,f,h,k,l,n,p,r,t;return C(function(u){switch(u.h){case 1:if(!v(Number,"isInteger").call(Number,a))throw new X("size must be an integer");if(0>=a)throw new X("size must be positive");switch(b){case "SHA-1":g=20;if(5100<a)throw new X("size too large");break;case "SHA-256":g=32;if(8160<a)throw new X("size too large");break;case "SHA-512":g=64;if(16320<a)throw new X("size too large");break;default:throw new X(b+" is not supported");}Z(c);Z(d);f=e;if(null==e||void 0===f||0==f.length)f=new Uint8Array(g);Z(f);return z(u,Wg(b,f,g),2);case 2:return h=u.g,z(u,Ug(h,c),3);case 3:return k=u.g,z(u,Wg(b,k,g),4);case 4:h=u.g,l=1,n=0,p=new Uint8Array(0),r=new Uint8Array(a);case 5:return t=new Uint8Array(p.length+d.length+1),t.set(p,0),t.set(d,p.length),t[t.length-1]=l,z(u,Ug(h,t),8);case 8:p=u.g;if(n+p.length<a)r.set(p,n),n+=p.length,l++;else{r.set(p.subarray(0,a-n),n);u.h=7;break}u.h=5;break;case 7:return u.return(r)}})};var wh=function(a){if(!a)throw new V("Recipient public key has to be non-null.");if("public"!==a.type||!a.algorithm)throw new V("Expected Crypto key of type: public.");this.publicKey=a};wh.prototype.ha=function(a,b,c,d,e){var g=this,f,h,k,l,n,p,r,t,u,A;return C(function(B){switch(B.h){case 1:f=g.publicKey.algorithm;h=f.namedCurve;if(!h)throw new V("Curve has to be defined.");return z(B,xg(h),2);case 2:return k=B.g,z(B,wg(k.privateKey,g.publicKey),3);case 3:return l=B.g,z(B,yg(k.publicKey),4);case 4:p=n=B.g;r=p.crv;if(!r)throw new V("Curve has to be defined.");t=rg(r,b,n);u=Y(t,l);return z(B,vh(a,c,u,d,e),5);case 5:return A=B.g,B.return({key:A,token:t})}})};function xh(a){var b;return C(function(c){if(1==c.h)return z(c,zg(a),2);b=c.g;return c.return(new wh(b))})};var yh=function(a,b,c,d,e){if(!a)throw new V("KEM sender has to be non-null.");if(!b)throw new V("HMAC algorithm has to be non-null.");if(!c)throw new V("Point format has to be non-null.");if(!d)throw new V("DEM helper has to be non-null.");this.s=a;this.h=b;this.l=c;this.g=d;this.i=e};y(yh,th);yh.prototype.encrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:return d=c.g.V,z(k,c.s.ha(d,c.l,c.h,b,c.i),2);case 2:return e=k.g,z(k,c.g.M(e.key),3);case 3:return g=k.g,z(k,g.encrypt(a),4);case 4:return f=k.g,h=e.token,k.return(Y(h,f))}})};function zh(a,b,c,d,e){var g;return C(function(f){if(1==f.h){if(!a)throw new V("Recipient public key has to be non-null.");if(!b)throw new V("HMAC algorithm has to be non-null.");if(!c)throw new V("Point format has to be non-null.");if(!d)throw new V("DEM helper has to be non-null.");return z(f,xh(a),2)}g=f.g;return f.return(new yh(g,b,c,d,e))})};var Ah=function(){};Ah.prototype.T=function(){throw new V("This operation is not supported for public keys. Use EciesAeadHkdfPrivateKeyManager to generate new keys.");};var Bh=function(){this.g=new Ah};m=Bh.prototype;m.D=function(a,b){var c=this,d,e,g,f,h,k,l,n,p,r;return C(function(t){if(a!==c.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if("type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey"!==R(b,1))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey.");try{var u=Qf(N(b,2))}catch(A){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey key-proto.");}if(!P(u,Kf,2)||!N(u,3)||!N(u,4))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey key-proto.");}else if(b instanceof Of)u=b;else throw new V("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey.");d=u;sh(d,c.o());e=qh(d);g=P(d,Kf,2);f=P(g,Gf,2);if(!f)throw new V("DEM params not set");h=P(f,Ef,2);k=new uh(h);l=Eg(S(g,3));n=P(g,If,1);if(!n)throw new V("KEM params not set");p=Dg(S(n,2));r=W(N(n,11));return t.return(zh(e,p,l,k,r))})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey"};m.u=function(){return th};m.o=function(){return 0};m.R=function(){return this.g};var Ch=function(a){if(!a)throw new V("Private key has to be non-null.");if("private"!==a.type||!a.algorithm)throw new V("Expected crypto key of type: private.");this.g=a};Ch.prototype.fa=function(a,b,c,d,e,g){var f=this,h,k,l,n,p,r,t;return C(function(u){switch(u.h){case 1:h=f.g.algorithm;k=h.namedCurve;if(!k)throw new V("Curve has to be defined.");l=vg(k,c,a);return z(u,zg(l),2);case 2:return n=u.g,z(u,wg(f.g,n),3);case 3:return p=u.g,r=Y(a,p),z(u,vh(b,d,r,e,g),4);case 4:return t=u.g,u.return(t)}})};function Dh(a){var b;return C(function(c){if(1==c.h)return z(c,Ag(a),2);b=c.g;return c.return(new Ch(b))})};var Eh=function(a,b,c,d,e,g){if(!a)throw new V("Recipient private key has to be non-null.");if(!b)throw new V("KEM recipient has to be non-null.");if(!c)throw new V("HKDF hash algorithm has to be non-null.");if(!d)throw new V("Point format has to be non-null.");if(!e)throw new V("DEM helper has to be non-null.");a=a.crv;if(!a)throw new V("Curve has to be defined.");a=og(a);a:{switch(d){case 1:a=2*qg(a)+1;break a;case 2:a=qg(a)+1;break a;case 3:a=2*qg(a);break a}a=void 0}this.F=b;this.i=c;this.s=d;this.h=e;this.g=a;this.l=g};y(Eh,jh);Eh.prototype.decrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h){if(a.length<c.g)throw new V("Ciphertext is too short.");d=a.slice(0,c.g);e=a.slice(c.g,a.length);return z(f,c.M(d,b),2)}g=f.g;return f.return(g.decrypt(e))})};Eh.prototype.M=function(a,b){var c=this,d;return C(function(e){if(1==e.h)return b||(b=new Uint8Array(0)),z(e,c.F.fa(a,c.h.V,c.s,c.i,b,c.l),2);d=e.g;return e.return(c.h.M(d))})};function Fh(a,b,c,d,e){var g;return C(function(f){if(1==f.h){if(!a)throw new V("Recipient private key has to be non-null.");if(!b)throw new V("HKDF hash algorithm has to be non-null.");if(!c)throw new V("Point format has to be non-null.");if(!d)throw new V("DEM helper has to be non-null.");if(!a)throw new V("Recipient private key has to be non-null.");return z(f,Dh(a),2)}g=f.g;return f.return(new Eh(a,g,b,c,d,e))})};var Gh=function(){};Gh.prototype.T=function(a){var b,c,d,e,g,f,h,k,l;return C(function(n){switch(n.h){case 1:if(!a)throw new V("Key format has to be non-null.");if(a instanceof Uint8Array){try{var p=Nf(a)}catch(A){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");}if(!P(p,Kf,1))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");}else if(a instanceof Mf)p=a;else throw new V("Expected type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");b=p;p=P(b,Kf,1);if(!p)throw new V("Invalid key format - missing key params.");rh(p);c=P(b,Kf,1);if(!c)throw new V("Params not set");d=P(c,If,1);if(!d)throw new V("KEM params not set");e=S(d,1);g=Cg(e);f=ng(g);return z(n,xg(f),2);case 2:return h=n.g,z(n,yg(h.publicKey),3);case 3:return k=n.g,z(n,yg(h.privateKey),4);case 4:l=n.g;p=n.return;var r=k.x;var t=k.y;if(void 0===r)throw new V("x must be set");if(void 0===t)throw new V("y must be set");var u=new Of;u=td(u,1,0);u=qd(u,2,c);r=kg(r);r=ud(u,3,r);t=kg(t);r=ud(r,4,t);t=l.d;if(void 0===t)throw new V("d must be set");u=new Rf;u=td(u,1,0);r=qd(u,2,r);t=kg(t);t=ud(r,3,t);return p.call(n,t)}})};var Hh=function(){this.g=new Gh};m=Hh.prototype;m.D=function(a,b){var c=this,d,e,g,f,h,k,l,n,p,r,t;return C(function(u){if(a!==c.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if("type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey"!==R(b,1))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey.");var A=N(b,2);try{var B=Sf(A)}catch(L){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key-proto.");}if(!P(B,Of,2)||!N(B,3))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key-proto.");A=B}else if(b instanceof Rf)A=b;else throw new V("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey.");d=A;Pg(d.o(),0);if(!N(d,3))throw new V("Invalid private key - missing private key value.");A=P(d,Of,2);if(!A)throw new V("Invalid private key - missing public key information.");sh(A,0);e=qh(d);g=P(d,Of,2);if(!g)throw new V("Public key not set");f=P(g,Kf,2);if(!f)throw new V("Params not set");h=P(f,Gf,2);if(!h)throw new V("DEM params not set");k=P(h,Ef,2);if(!k)throw new V("Key template not set");l=new uh(k);n=Eg(S(f,3));p=P(f,If,1);if(!p)throw new V("KEM params not set");r=Dg(S(p,2));t=W(N(p,11));return u.return(Fh(e,r,n,l,t))})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey"};m.u=function(){return jh};m.o=function(){return 0};m.R=function(){return this.g};var Ih=function(a){this.g=a};y(Ih,th);Ih.prototype.encrypt=function(a,b){var c=this,d,e,g,f;return C(function(h){if(1==h.h){if(!a)throw new V("Plaintext has to be non-null.");d=c.g.h;if(!d)throw new V("Primary not set.");e=d.D();return z(h,e.encrypt(a,b),2)}g=h.g;f=d.g;return h.return(Y(f,g))})};var Jh=function(){};Jh.prototype.qa=function(a){if(!a)throw new V("Primitive set has to be non-null.");if(!a.h)throw new V("Primary has to be non-null.");return new Ih(a)};Jh.prototype.u=function(){return th};var Mh=Kh(1,0),Nh=Kh(2,16),Oh=Kh(2,18),Ph=Kh(2,1),Qh=Kh(2,3),Rh=Kh(2,1),Sh=Kh(2,2),Th=lg("KEM"),Uh=lg("HPKE"),Vh=lg("HPKE-v1");function Kh(a,b){for(var c=new Uint8Array(a),d=0;d<a;d++)c[d]=b>>8*(a-d-1)&255;return c}function Wh(a){var b=a.I;return Y(Vh,a.C,lg(a.J),b)}function Xh(a){var b=a.N,c=a.info,d=a.C;return Y(Kh(2,a.length),Vh,d,lg(b),c)}function Yh(a){switch(a){case 2:return 1;case 4:return 3;default:throw new X("Unrecognized NIST HPKE KEM identifier");}}function Zh(a,b){var c;return C(function(d){return 1==d.h?(c=vg(a,1,b),z(d,zg(c),2)):d.return(d.g)})}function $h(a){var b=a.ea,c=a.publicKey,d=a.privateKey,e;return C(function(g){return 1==g.h?(e=vg(b,1,c),e.d=mg(d),z(g,Ag(e),2)):g.return(g.g)})}function ai(a){var b,c;return C(function(d){if(1==d.h)return b=a.algorithm,z(d,yg(a),2);c=d.g;if(!c.crv)throw new V("Curve has to be defined.");return d.return(rg(b.namedCurve,1,c))})};var bi=function(a,b,c,d){this.ia=a;this.key=b;this.i=c;this.h=d;this.g=BigInt(0);this.l=(BigInt(1)<<BigInt(96))-BigInt(1)};bi.prototype.seal=function(a,b){var c=this,d;return C(function(e){return 1==e.h?(d=ci(c),z(e,c.h.seal({key:c.key,nonce:d,Ga:a,da:b}),2)):e.return(e.g)})};bi.prototype.open=function(a,b){var c=this,d;return C(function(e){d=ci(c);return e.return(c.h.open({key:c.key,nonce:d,Aa:a,da:b}))})};var ci=function(a){for(var b=a.g,c=new Uint8Array(12),d=0;12>d;d++)c[d]=Number(b>>BigInt(8*(12-d-1)))&255;b=a.i;if(b.length!==c.length)throw new X("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e<d.length;e++)d[e]=b[e]^c[e];if(a.g>=a.l)throw new V("message limit reached");a.g+=BigInt(1);return d};function di(a,b,c,d,e,g){var f,h,k,l,n,p,r;return C(function(t){switch(t.h){case 1:a:{switch(e.ba){case 16:var u=Rh;break a;case 32:u=Sh;break a}u=void 0}a:{switch(d.aa){case "SHA-256":var A=Ph;break a;case "SHA-512":A=Qh;break a}A=void 0}f=Y(Uh,ei(c),A,u);return z(t,fi(d,{I:new Uint8Array(0),J:"psk_id_hash",C:f}),2);case 2:return h=t.g,z(t,fi(d,{I:g,J:"info_hash",C:f}),3);case 3:return k=t.g,l=Y(Mh,h,k),z(t,fi(d,{I:new Uint8Array(0),J:"secret",C:f,salt:b}),4);case 4:return n=t.g,z(t,gi(d,{oa:n,info:l,N:"key",C:f,length:e.ba}),5);case 5:return p=t.g,z(t,gi(d,{oa:n,info:l,N:"base_nonce",C:f,length:12}),6);case 6:return r=t.g,t.return(new bi(a,p,r,e))}})}function hi(a,b,c,d,e){var g,f,h;return C(function(k){return 1==k.h?z(k,b.ha(a),2):3!=k.h?(g=k.g,f=g.ia,h=g.Ia,z(k,di(f,h,b,c,d,e),3)):k.return(k.g)})}function ii(a,b,c,d,e,g){var f;return C(function(h){return 1==h.h?z(h,c.fa(a,b),2):3!=h.h?(f=h.g,z(h,di(a,f,c,d,e,g),3)):h.return(h.g)})};var ji=function(a,b){this.privateKey=a;this.publicKey=b},ki=function(a){return C(function(b){return 1==b.h?z(b,ai(a.publicKey),2):b.return(b.g)})};function li(a){var b=a.privateKey,c=a.publicKey,d=a.ea,e,g;return C(function(f){if(1==f.h){if(!b)throw new X("KEM private key was null or undefined");if(!c)throw new X("KEM public key was null or undefined");return z(f,Zh(ng(d),c),2)}if(3!=f.h)return e=f.g,z(f,$h({ea:ng(d),publicKey:c,privateKey:b}),3);g=f.g;return f.return(new ji(g,e))})}function mi(a){return C(function(b){ni(a.privateKey,"private");ni(a.publicKey,"public");return b.return(new ji(a.privateKey,a.publicKey))})}function ni(a,b){if(b!==a.type)throw new X("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new X("keyPair "+b+" key should be ECDH but found "+a.name);};var oi=function(a){this.ba=a};oi.prototype.seal=function(a){var b=a.key,c=a.nonce,d=a.Ga,e=a.da,g=this,f;return C(function(h){if(1==h.h){if(b.length!==g.ba)throw new V("Unexpected key length: "+b.length.toString());return z(h,eh({key:b,G:!1}),2)}return 3!=h.h?(f=h.g,z(h,f.encrypt(c,d,e),3)):h.return(h.g)})};oi.prototype.open=function(a){var b=a.key,c=a.nonce,d=a.Aa,e=a.da,g=this,f;return C(function(h){if(1==h.h){if(b.length!==g.ba)throw new V("Unexpected key length: "+b.length.toString());return z(h,eh({key:b,G:!1}),2)}f=h.g;return h.return(f.decrypt(c,d,e))})};var pi=function(a){this.aa=a},fi=function(a,b){var c=b.I,d=b.J,e=b.C,g=b.salt;return C(function(f){return 1==f.h?z(f,qi(a,Wh({J:d,I:c,C:e}),g),2):f.return(f.g)})},gi=function(a,b){var c=b.oa,d=b.info,e=b.N,g=b.C,f=b.length;return C(function(h){return 1==h.h?z(h,ri(a,c,Xh({N:e,info:d,C:g,length:f}),f),2):h.return(h.g)})},si=function(a,b){var c=b.I,d=b.J,e=b.info,g=b.N,f=b.C,h=b.length,k=b.salt,l;return C(function(n){return 1==n.h?z(n,qi(a,Wh({J:d,I:c,C:f}),k),2):3!=n.h?(l=n.g,z(n,ri(a,l,Xh({N:g,info:e,C:f,length:h}),h),3)):n.return(n.g)})},ri=function(a,b,c,d){var e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:if(!v(Number,"isInteger").call(Number,d))throw new V("length must be an integer");if(0>=d)throw new V("length must be positive");e=ti(a);if(d>255*e)throw new V("length too large");Z(c);return z(p,Wg(a.aa,b,e),2);case 2:g=p.g,f=1,h=0,k=new Uint8Array(0),l=new Uint8Array(d);case 3:return n=new Uint8Array(k.length+c.length+1),n.set(k,0),n.set(c,k.length),n[n.length-1]=f,z(p,Ug(g,n),6);case 6:k=p.g;if(h+k.length<d)l.set(k,h),h+=k.length,f++;else{l.set(k.subarray(0,d-h),h);p.h=5;break}p.h=3;break;case 5:return p.return(l)}})},qi=function(a,b,c){var d,e,g,f;return C(function(h){if(1==h.h)return Z(b),d=ti(a),(null==(e=c)?0:e.length)||(c=new Uint8Array(d)),Z(c),z(h,Wg(a.aa,c,d),2);if(3!=h.h)return g=h.g,z(h,Ug(g,b),3);f=h.g;return h.return(f)})},ti=function(a){switch(a.aa){case "SHA-256":return 32;case "SHA-512":return 64}};var ui=function(a,b){this.i=a;this.g=b},vi=function(a){switch(a){case 1:return new ui(new pi("SHA-256"),1);case 3:return new ui(new pi("SHA-512"),3)}};ui.prototype.h=function(a,b,c){var d=this,e,g;return C(function(f){return 1==f.h?(e=Y(b,c),g=Y(Th,ei(d)),z(f,si(d.i,{I:a,J:"eae_prk",info:e,N:"shared_secret",C:g,length:ti(d.i)}),2)):f.return(f.g)})};ui.prototype.l=function(a,b){var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:return z(k,Zh(ng(c.g),a),2);case 2:return d=k.g,z(k,wg(b.privateKey,d),3);case 3:return e=k.g,z(k,ki(b),4);case 4:return g=k.g,z(k,c.h(e,g,a),5);case 5:return f=k.g,h={Ia:f,ia:g},k.return(h)}})};ui.prototype.ha=function(a){var b=this,c,d,e,g;return C(function(f){switch(f.h){case 1:return z(f,xg(ng(b.g)),2);case 2:return c=f.g,d=b,e=d.l,g=a,z(f,mi(c),4);case 4:return z(f,e.call(d,g,f.g),3);case 3:return f.return(f.g)}})};ui.prototype.fa=function(a,b){var c=this,d,e,g,f,h,k;return C(function(l){switch(l.h){case 1:return d=b.privateKey,z(l,Zh(ng(c.g),a),2);case 2:return e=l.g,z(l,wg(d,e),3);case 3:return g=l.g,f=c,h=f.h,k=a,z(l,ki(b),4);case 4:return l.return(h.call(f,g,k,l.g))}})};var ei=function(a){switch(a.g){case 1:return Nh;case 3:return Oh}};/*

 Copyright 2023 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var wi=function(a){switch(S(a,1)){case 2:return vi(1);case 4:return vi(3);default:throw new X("Unrecognized HPKE KEM identifier");}},xi=function(a){switch(S(a,2)){case 1:return new pi("SHA-256");case 3:return new pi("SHA-512");default:throw new X("Unrecognized HPKE KDF identifier");}},yi=function(a){switch(a.M()){case 1:return new oi(16);case 2:return new oi(32);default:throw new X("Unrecognized HPKE AEAD identifier");}};var zi=function(a,b,c,d,e){if(!a)throw new X("Recipient private key must be non-null.");if(!b)throw new X("KEM algorithm must be non-null.");if(!c)throw new X("KDF algorithm must be non-null.");if(!d)throw new X("AEAD algorithm must be non-null.");this.s=a;this.l=b;this.i=c;this.h=d;this.g=e};y(zi,jh);var Ai=function(a){var b,c,d,e,g,f,h;return C(function(k){if(1==k.h){if(0===W(N(a,3)).length)throw new X("Recipient private key is empty.");b=P(a,Yf,2);if(!b)throw new X("Recipient private key is missing public key field.");c=P(b,Tf,2);if(!c)throw new X("Public key is missing params field.");d=wi(c);e=xi(c);g=yi(c);a:switch(S(c,1)){case 2:var l=65;break a;case 4:l=133;break a;default:throw new X("Unable to determine KEM-encoding length");}f=l;a:{l=P(a,Yf,2);if(!l)throw new X("Public key not set");var n=P(l,Tf,2);if(!n)throw new X("Params not set");switch(S(n,1)){case 2:case 4:l=li({privateKey:W(N(a,3)),publicKey:W(N(l,3)),ea:Yh(S(n,1))});break a;default:throw new X("Unrecognized HPKE KEM identifier");}}return z(k,l,2)}h=k.g;return k.return(new zi(h,d,e,g,f))})};zi.prototype.decrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h){if(a.length<=c.g)throw new V("Ciphertext is too short.");b||(b=new Uint8Array(0));d=a.slice(0,c.g);e=a.slice(c.g,a.length);return z(f,ii(d,c.s,c.l,c.i,c.h,b),2)}g=f.g;return f.return(g.open(e,Bi))})};var Bi=new Uint8Array(0);var Ci=function(a,b,c,d){if(!a)throw new X("Recipient public key must be non-null.");if(!b)throw new X("KEM algorithm must be non-null.");if(!c)throw new X("KDF algorithm must be non-null.");if(!d)throw new X("AEAD algorithm must be non-null.");this.l=a;this.i=b;this.h=c;this.g=d};y(Ci,th);var Di=function(a){var b,c,d,e;return C(function(g){if(0===W(N(a,3)).length)throw new X("Recipient public key is empty.");b=P(a,Tf,2);if(!b)throw new X("Public key is missing params field.");c=wi(b);d=xi(b);e=yi(b);return g.return(new Ci(a,c,d,e))})};Ci.prototype.encrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h)return b||(b=new Uint8Array(0)),d=W(N(c.l,3)),z(f,hi(d,c.i,c.h,c.g,b),2);if(3!=f.h)return e=f.g,z(f,e.seal(a,Ei),3);g=f.g;return f.return(Y(e.ia,g))})};var Ei=new Uint8Array(0);function Fi(a){var b=S(a,1);if(2!==b&&4!==b)throw new V("Invalid hpke params - unknown KEM identifier.");b=S(a,2);if(1!==b&&3!==b)throw new V("Invalid hpke params - unknown KDF identifier.");a=a.M();if(1!==a&&2!==a)throw new V("Invalid hpke params - unknown AEAD identifier.");}function Gi(a,b){Pg(a.o(),b);b=P(a,Tf,2);if(!b)throw new V("Invalid public key - missing key params.");Fi(b);if(0===hg(N(a,3)))throw new V("Invalid public key - missing public key value.");};var Hi=function(){};Hi.prototype.T=function(){throw new V("This operation is not supported for public keys. Use HpkePrivateKeyManager to generate new keys.");};var Ii=function(){this.g=new Hi};m=Ii.prototype;m.D=function(a,b){var c=this,d;return C(function(e){if(a!==c.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if("type.googleapis.com/google.crypto.tink.HpkePublicKey"!==R(b,1))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePublicKey.");try{var g=$f(N(b,2))}catch(f){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePublicKey key-proto.");}if(!P(g,Tf,2)||!N(g,3))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePublicKey key-proto.");}else if(b instanceof Yf)g=b;else throw new V("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePublicKey.");d=g;Gi(d,c.o());return e.return(Di(d))})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.HpkePublicKey"};m.u=function(){return th};m.o=function(){return 0};m.R=function(){return this.g};var Ji=function(){};Ji.prototype.T=function(a){var b,c,d,e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:if(!a)throw new V("Key format must be non-null.");if(a instanceof Uint8Array){try{var r=Xf(a)}catch(A){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");}if(!P(r,Tf,1))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");}else if(a instanceof Vf)r=a;else throw new V("Expected type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");b=r;r=P(b,Tf,1);if(!r)throw new V("Invalid key format - missing key params.");Fi(r);c=P(b,Tf,1);if(!c)throw new V("Params not set");d=Yh(S(c,1));e=ng(d);return z(p,xg(e),2);case 2:return g=p.g,z(p,yg(g.privateKey),3);case 3:return f=p.g,z(p,ai(g.publicKey),4);case 4:h=p.g;r=new Yf;r=td(r,1,0);r=qd(r,2,c);k=ud(r,3,h);l=f;n=l.d;if(void 0===n)throw new V("d must be set");r=p.return;var t=new ag;t=td(t,1,0);t=qd(t,2,k);var u=kg(n);t=ud(t,3,u);return r.call(p,t)}})};var Ki=function(){this.g=new Ji};m=Ki.prototype;m.D=function(a,b){var c=this,d;return C(function(e){if(a!==c.u())throw new V("Requested primitive type which is not supported by this key manager.");if(b instanceof cg){if("type.googleapis.com/google.crypto.tink.HpkePrivateKey"!==R(b,1))throw new V("Key type "+R(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePrivateKey.");var g=N(b,2);try{var f=bg(g)}catch(h){throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key-proto.");}if(!P(f,Yf,2)||!N(f,3))throw new V("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key-proto.");g=f}else if(b instanceof ag)g=b;else throw new V("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePrivateKey.");d=g;Pg(d.o(),0);if(0===hg(N(d,3)))throw new V("Invalid private key - missing private key value.");g=P(d,Yf,2);if(!g)throw new V("Invalid private key - missing public key field.");Gi(g,0);return e.return(Ai(d))})};m.P=function(a){return a===this.B()};m.B=function(){return"type.googleapis.com/google.crypto.tink.HpkePrivateKey"};m.u=function(){return jh};m.o=function(){return 0};m.R=function(){return this.g};function Li(a,b,c,d){var e=new Vf,g=new Tf;a=O(g,1,Mc(a),0);b=O(a,2,Mc(b),0);c=O(b,3,Mc(c),0);e=qd(e,1,c);c=new Ef;c=O(c,1,Tc("type.googleapis.com/google.crypto.tink.HpkePrivateKey"),"");e=e.g();e=ud(c,2,e);O(e,3,Mc(d),0)};Li(2,1,1,3);Li(2,1,1,1);Li(2,1,2,3);Li(2,1,2,1);Li(4,3,2,3);Li(4,3,2,1);var Mi=function(a,b,c){this.i=a;this.g=b;this.h=c};Mi.prototype.D=function(){return this.i};var Ni=function(a){this.i=a;this.h=null;this.g=new q.Map};Ni.prototype.u=function(){return this.i};var nh=function(a,b){return(a=Oi(a,b))?a:[]},Oi=function(a,b){b instanceof Uint8Array&&(b=[].concat(ka(b)).toString());return a.g.get(b)};var Pi=function(a){if(!a||!fg(a)||1>fg(a).length)throw new V("Keyset should be non null and must contain at least one key.");for(var b=!1,c=fg(a).length,d=0;d<c;d++){var e=fg(a)[d];if(!e)throw new V("Key should be non null.");if(!P(e,cg,1))throw new V("Key data are missing for key "+Q(e,3)+".");if(0===S(e,4))throw new V("Key "+Q(e,3)+" has unknown output prefix type.");if(0===S(e,2))throw new V("Key "+Q(e,3)+" has unknown status.");if(Q(a,1)===Q(e,3)&&1===S(e,2)){if(b)throw new V("Primary key has to be unique.");b=!0}}if(!b)throw new V("Primary key has to be in the keyset and has to be enabled.");this.g=a};Pi.prototype.D=function(a,b){var c=this,d;return C(function(e){if(1==e.h){if(!a)throw new X("primitive type must be non-null");return z(e,Qi(c,a,b),2)}d=e.g;var g=e.return;if(!d)throw new V("primitive set cannot be null.");var f=d.u(),h=Hg.get(f);if(!h)throw new V("no primitive wrapper found for type "+f);h=h.qa(d);if(!(h instanceof f))throw new TypeError("Unexpected type");return g.call(e,h)})};var Qi=function(a,b,c){var d,e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:d=new Ni(b),e=fg(a.g),g=e.length,f=0;case 2:if(!(f<g)){p.h=4;break}h=e[f];if(1!==S(h,2)){p.h=3;break}k=P(h,cg,1);if(!k)throw new V("Key data has to be non null.");l=void 0;return c&&c.B()===R(k,1)?z(p,c.D(b,k),9):z(p,Kg(b,k),8);case 8:l=p.g;p.h=7;break;case 9:l=p.g;case 7:var r=d,t=l;if(!t)throw new V("Primitive has to be non null.");if(!h)throw new V("Key has to be non null.");a:switch(S(h,4)){case 2:case 4:var u=kh(Q(h,3),0);break a;case 1:u=kh(Q(h,3),1);break a;case 3:u=lh;break a;default:throw new V("Unsupported key prefix type.");}t=new Mi(t,u,S(h,2),S(h,4));u=[].concat(ka(t.g)).toString();var A=Oi(r,u);A?(A.push(t),r.g.set(u,A)):r.g.set(u,[t]);n=t;if(Q(h,3)===Q(a.g,1)){if(!n)throw new V("Primary cannot be set to null.");if(1!=n.h)throw new V("Primary has to be enabled.");r=nh(d,n.g);t=!1;u=r.length;for(A=0;A<u;A++)if(1===r[A].h){t=!0;break}if(!t)throw new V("Primary cannot be set to an entry which is not held by this primitive set.");d.h=n}case 3:f++;p.h=2;break;case 4:return p.return(d)}})};Pi.prototype.write=function(){return C(function(){throw new V("KeysetHandle -- write: Not implemented yet.");})};function Ri(a){if(null===a)throw new V("Reader has to be non-null.");a=a.read();for(var b=x(fg(a)),c=b.next();!c.done;c=b.next()){c=P(c.value,cg,1);if(null==c)throw new V("Key data has to be non null.");c=S(c,3);if(0===c||1===c||2===c)throw new V("Keyset contains secret key material.");}return new Pi(a)};function Si(a){return Ri({read:function(){return gg(a)},La:function(){throw new V("Not implemented yet.");}})};function Ti(a){var b=new bf;var c=a.topic;if(null!=c){if("number"!==typeof c)throw Jc("int32");if(!v(Number,"isFinite").call(Number,c))throw Jc("int32");c|=0}b=O(b,1,c,0);b=O(b,2,Tc(a.version),"");b=O(b,3,Tc(a.configVersion),"");b=O(b,4,Tc(a.modelVersion),"");return O(b,5,Tc(a.taxonomyVersion),"")}function Ui(a,b,c,d){c=void 0===c?document:c;d=void 0===d?window:d;var e,g,f,h,k,l,n,p,r,t,u,A;return C(function(B){switch(B.h){case 1:e=c;if("function"!==typeof e.browsingTopics)return Te(a,2),B.return();g=a.data;f=!!g.skipTopicsObservation;return z(B,e.browsingTopics({skipObservation:f}),2);case 2:h=B.g;if(!g.includeBuyerTopics){k=[];B.h=3;break}return z(B,d.fetch("https://pagead2.googlesyndication.com/pagead/buyside_topics/get",{browsingTopics:!0}).then(function(L){return L.text()}).then(Vi).catch(function(){return[]}),4);case 4:k=B.g;case 3:l=k;n=new q.Map(h.map(function(L){return[L.topic,L]}));p=x(l);for(r=p.next();!r.done;r=p.next())t=r.value,n.has(t.topic)||n.set(t.topic,t);g.includeBuyerTopics&&Fe({bs:l.length,us:n.size,ss:h.length},"topics_frame");u=v(Array,"from").call(Array,v(n,"values").call(n));return u.length?z(B,b.encrypt((new TextEncoder).encode(wd(df(new cf,u.map(Ti))))),5):(Te(a,3),B.return());case 5:A=B.g,Te(a,A,void 0,[A.buffer]),B.h=0}})}function Vi(a){var b=[];a.split(",").forEach(function(c){var d=c.trim();if(v(d,"startsWith").call(d,"(")){var e=d.match(/^\(([\d ]+)\);v=([^\s;]+)(;p=.*)?$/);if(e){d=e[1].split(" ");e=e[2];var g=x(e.split(":"));c=g.next().value;var f=g.next().value;g=g.next().value;if(0!==d.length&&e&&c&&f&&g){d=x(d);for(var h=d.next();!h.done;h=d.next())b.push({topic:Number(h.value),version:e,configVersion:c,modelVersion:g,taxonomyVersion:f})}}}else{c=null==(g=d.match(/^(\d+);/))?void 0:g[1];var k;g=null==(k=d.match(/;version="(.+?)"/))?void 0:k[1];k=null==(h=d.match(/;config_version="(.+?)"/))?void 0:h[1];h=null==(f=d.match(/;model_version="(.+?)"/))?void 0:f[1];f=null==(e=d.match(/;taxonomy_version="(.+?)"/))?void 0:e[1];c&&g&&k&&h&&f&&b.push({topic:Number(c),version:g,configVersion:k,modelVersion:h,taxonomyVersion:f})}});return b};(function(a){var b=new xe;Ce(b,977,function(){var c,d,e;return C(function(g){if(1==g.h){c=window.document.referrer;if(!c)return b.g(988,Error()),g.return();Ig(new ch);Ig(new ih);Lg(new ph);Ig(new Hh);Ig(new Bh);Lg(new Jh);Ig(new Ki);Ig(new Ii);return z(g,Si(a).D(th),2)}d=g.g;e=Ae(b,function(f){var h=void 0===h?document:h;var k=void 0===k?window:k;var l=f.data;if("goog:topics:frame:handshake:ack"===l)Te(f,"goog:topics:frame:handshake:ack");else switch(l.message){case "goog:spam:client_age":Ce(b,1062,af(l.pvsid));Te(f,"goog:spam:client_age:ack");break;case "goog:topics:frame:get:topics":Ce(b,1002,Ui(f,d,h,k))}});Xe({destination:window.parent,origin:c,ka:"goog:gRpYw:doubleclick",onMessage:e});g.h=0})}())})('[351284738,[[["type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey","EkQKBAgCEAMSOhI4CjB0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5jcnlwdG8udGluay5BZXNHY21LZXkSAhAQGAEYARog5z+eqzXpk2SD9nfrNTaxxgy+IUFKl+FdJ63gJJGsZMoiIE5SAUd01WBkOowgnddBWBB/yDCFCoqOXYIQ5G9azhRe",3],1,351284738,1],[["type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey","EkQKBAgCEAMSOhI4CjB0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5jcnlwdG8udGluay5BZXNHY21LZXkSAhAQGAEYARogJVp08rg6Vy/61mR3gbBGw8w3+JLaZnZPs9RrcQ0CDfQiILH3g6blf7mw4V7a9NdkNe0d1PVTGNtNUX7jZmXPnXZs",3],1,2623294582,1]]]');
    </script>
  </head>
  <body>

</body></html>